summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-05-16 09:49:51 -0500
committerJoel Sherrill <joel@rtems.org>2018-05-18 08:22:32 -0500
commita03f73c13fb0206a2cced7e1d27af6a042b2ca30 (patch)
treee81ec8d7e9b1e8f487a39bbce567a7456b784fb6
parent1e84462d9dd0daaeec4d1a20655deaa44fefa9b8 (diff)
downloadrtems-a03f73c13fb0206a2cced7e1d27af6a042b2ca30.tar.bz2
mpc8260ads: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r--bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg3
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac1
2 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg b/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg
index 4869e726d6..d335e92a95 100644
--- a/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg
+++ b/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg
@@ -11,8 +11,7 @@ RTEMS_CPU=powerpc
# and (hopefully) optimize for it.
#
# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
-CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
- -meabi -msdata=sysv -fno-common
+CPU_CFLAGS = -mcpu=603e -mstrict-align -meabi -msdata=sysv -fno-common
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac
index ad97068f68..b9bce068a6 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac
@@ -57,6 +57,7 @@ RTEMS_BSPOPTS_SET([DISPATCH_HANDLER_STAT],[*],[])
RTEMS_BSPOPTS_HELP([DISPATCH_HANDLER_STAT],
[used by irq/irq.c])
+AC_DEFINE(mpc8260, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS