diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 09:57:54 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:34 -0500 |
commit | 3274ec757752047c65deadcccfe57e11cea0693d (patch) | |
tree | 0cc06f6c7b99efc79d674a72e3c7cafe2ef013d3 | |
parent | ss555: Move -Dxxx to configure.ac (diff) | |
download | rtems-3274ec757752047c65deadcccfe57e11cea0693d.tar.bz2 |
t32mppc: Move -Dxxx to configure.ac
Updates #3425.
Diffstat (limited to '')
-rw-r--r-- | bsps/powerpc/t32mppc/config/t32mppc.cfg | 3 | ||||
-rw-r--r-- | 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 |