From 3d43c475d6ce84b3cc44b0b9925b11b565a8d11f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 May 2018 09:58:13 -0500 Subject: tqm8xx: Move -Dxxx to configure.ac 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 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]) -- cgit v1.2.3