summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-05-16 09:58:13 -0500
committerJoel Sherrill <joel@rtems.org>2018-05-18 08:22:34 -0500
commit3d43c475d6ce84b3cc44b0b9925b11b565a8d11f (patch)
treef5e48af0898b45ec7001c1555f4f7514d6515226
parent3274ec757752047c65deadcccfe57e11cea0693d (diff)
downloadrtems-3d43c475d6ce84b3cc44b0b9925b11b565a8d11f.tar.bz2
tqm8xx: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r--bsps/powerpc/tqm8xx/config/tqm8xx.inc3
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/configure.ac1
2 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/tqm8xx/config/tqm8xx.inc b/bsps/powerpc/tqm8xx/config/tqm8xx.inc
index f9a31d0835..0887110964 100644
--- a/bsps/powerpc/tqm8xx/config/tqm8xx.inc
+++ b/bsps/powerpc/tqm8xx/config/tqm8xx.inc
@@ -6,8 +6,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=powerpc
-CPU_CFLAGS = -mcpu=860 -Dmpc860 \
- -mstrict-align -fno-strict-aliasing \
+CPU_CFLAGS = -mcpu=860 -mstrict-align -fno-strict-aliasing \
-meabi -msdata=sysv -fno-common
# optimize flag: typically -O2
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac
index 55f7ea7af0..2ba8e28485 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac
@@ -87,6 +87,7 @@ RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_SCC],
[If defined, then the BSP will use the Serial Communications Controller (SCC1)
for 10MBit networking.])
+AC_DEFINE(mpc860, 1, [PowerPC model option])
# Explicitly list a Makefile here
AC_CONFIG_FILES([Makefile])