From 3274ec757752047c65deadcccfe57e11cea0693d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 May 2018 09:57:54 -0500 Subject: t32mppc: Move -Dxxx to configure.ac Updates #3425. --- bsps/powerpc/t32mppc/config/t32mppc.cfg | 3 +-- c/src/lib/libbsp/powerpc/t32mppc/configure.ac | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bsps/powerpc/t32mppc/config/t32mppc.cfg b/bsps/powerpc/t32mppc/config/t32mppc.cfg index 1bbfe76a09..a83dafd3bb 100644 --- a/bsps/powerpc/t32mppc/config/t32mppc.cfg +++ b/bsps/powerpc/t32mppc/config/t32mppc.cfg @@ -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 diff --git a/c/src/lib/libbsp/powerpc/t32mppc/configure.ac b/c/src/lib/libbsp/powerpc/t32mppc/configure.ac index 984e3a15c3..dce3d8ea64 100644 --- a/c/src/lib/libbsp/powerpc/t32mppc/configure.ac +++ b/c/src/lib/libbsp/powerpc/t32mppc/configure.ac @@ -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 -- cgit v1.2.3