From b06e8d613232026daebe190fc6d278826e5737d8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 May 2018 09:54:50 -0500 Subject: qemuppc: Move -Dxxx to configure.ac Updates #3425. --- bsps/powerpc/qemuppc/config/qemuppc.cfg | 2 +- c/src/lib/libbsp/powerpc/qemuppc/configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/qemuppc/config/qemuppc.cfg b/bsps/powerpc/qemuppc/config/qemuppc.cfg index f424ec22ee..5e919c1b9f 100644 --- a/bsps/powerpc/qemuppc/config/qemuppc.cfg +++ b/bsps/powerpc/qemuppc/config/qemuppc.cfg @@ -8,7 +8,7 @@ RTEMS_CPU=powerpc # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. -CPU_CFLAGS = -mcpu=603e -Dppc603e +CPU_CFLAGS = -mcpu=603e # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions diff --git a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac index 58dbaf768b..f7f5a55680 100644 --- a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac +++ b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac @@ -11,6 +11,7 @@ RTEMS_CANONICAL_TARGET_CPU AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) RTEMS_BSP_CONFIGURE +AC_DEFINE(ppc603e, 1, [PowerPC model option]) RTEMS_BSP_CLEANUP_OPTIONS -- cgit v1.2.3