summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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])