[PATCH 13/16] tqm8xx: Move -Dxxx to configure.ac
Joel Sherrill
joel at rtems.org
Wed May 16 15:09:46 UTC 2018
Updates #3425.
---
bsps/powerpc/tqm8xx/config/tqm8xx.inc | 3 +--
c/src/lib/libbsp/powerpc/tqm8xx/configure.ac | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsps/powerpc/tqm8xx/config/tqm8xx.inc b/bsps/powerpc/tqm8xx/config/tqm8xx.inc
index f9a31d0..0887110 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 55f7ea7..2ba8e28 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])
--
1.8.3.1
More information about the devel
mailing list