diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 09:49:22 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:32 -0500 |
commit | 1e84462d9dd0daaeec4d1a20655deaa44fefa9b8 (patch) | |
tree | 146ac93298b76fde1b3c81b106bb9dc62e13060d | |
parent | motorola_powerpc: Move -Dxxx to configure.ac (diff) | |
download | rtems-1e84462d9dd0daaeec4d1a20655deaa44fefa9b8.tar.bz2 |
mpc55xxevb: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r-- | bsps/powerpc/mpc55xxevb/config/mpc55xx.inc | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc index 5b0b843ac4..56c580156b 100644 --- a/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc +++ b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc @@ -15,7 +15,7 @@ CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe # FIXME CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \ - -D__ppc_generic -mstrict-align + -mstrict-align CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac b/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac index fd26285092..809fcd14f2 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac @@ -214,6 +214,8 @@ RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level init RTEMS_BSPOPTS_SET([MPC55XX_ENABLE_START_PROLOGUE],[mpc5674f_rsm6],[1]) RTEMS_BSPOPTS_HELP([MPC55XX_ENABLE_START_PROLOGUE],[if defined, enable start prologue]) +AC_DEFINE(__ppc_generic, 1, [PowerPC model option]) + AC_CONFIG_FILES([Makefile]) RTEMS_BSP_CLEANUP_OPTIONS |