t32mppc: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 09:57:54 -05:00
parent c20001c4fc
commit 3274ec7577
2 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = powerpc
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe \
-D__ppc_generic
CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe
CFLAGS_OPTIMIZE_V = -Og -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

View File

@@ -24,7 +24,7 @@ RTEMS_BSPOPTS_SET([PPC_EXC_CONFIG_BOOKE_ONLY],[*],[1])
RTEMS_BSPOPTS_HELP([PPC_EXC_CONFIG_BOOKE_ONLY],
[only support Book E exception types])
AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS
RTEMS_PPC_EXCEPTIONS