qoriq: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 09:55:14 -05:00
parent b06e8d6132
commit 1a418189de
4 changed files with 4 additions and 7 deletions

View File

@@ -7,8 +7,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = powerpc
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
-mspe -mabi=spe -mfloat-gprs=double \
-D__ppc_generic
-mspe -mabi=spe -mfloat-gprs=double
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

View File

@@ -4,8 +4,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = powerpc
CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
-D__ppc_generic
CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

View File

@@ -5,8 +5,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = powerpc
CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \
-D__ppc_generic
CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

View File

@@ -159,7 +159,7 @@ RTEMS_BSPOPTS_SET([QORIQ_BUS_CLOCK_DIVIDER],[qoriq_e6500*],[2])
RTEMS_BSPOPTS_SET([QORIQ_BUS_CLOCK_DIVIDER],[*],[1])
RTEMS_BSPOPTS_HELP([QORIQ_BUS_CLOCK_DIVIDER],[divider of the platform clock to get the clock most on-chip peripherals])
AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS
RTEMS_PPC_EXCEPTIONS