summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-05-16 09:54:13 -0500
committerJoel Sherrill <joel@rtems.org>2018-05-18 08:22:33 -0500
commitbeb44685af5cb50775e5e0f582751d5df7897937 (patch)
treec954586a95d9c5f90e832428b25123301196589a
parent5aa8ac2c9debbdbe188408d1e78889477a0b322c (diff)
downloadrtems-beb44685af5cb50775e5e0f582751d5df7897937.tar.bz2
mvme5500: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r--bsps/powerpc/mvme5500/config/mvme5500.cfg2
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/mvme5500/config/mvme5500.cfg b/bsps/powerpc/mvme5500/config/mvme5500.cfg
index 6a0fceabe7..0bfb6ff52c 100644
--- a/bsps/powerpc/mvme5500/config/mvme5500.cfg
+++ b/bsps/powerpc/mvme5500/config/mvme5500.cfg
@@ -11,7 +11,7 @@ RTEMS_BSP_FAMILY=mvme5500
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
+CPU_CFLAGS = -mcpu=7450 -mtune=7450
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/configure.ac b/c/src/lib/libbsp/powerpc/mvme5500/configure.ac
index 6d2745acff..a1910ca562 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/configure.ac
+++ b/c/src/lib/libbsp/powerpc/mvme5500/configure.ac
@@ -33,6 +33,8 @@ Note that the policy can still be defined by the application
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
and a little memory is saved.])
+AC_DEFINE(mpc7455, 1, [PowerPC model option])
+
RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list all Makefiles here