diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 09:54:50 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:33 -0500 |
commit | b06e8d613232026daebe190fc6d278826e5737d8 (patch) | |
tree | c991429912607c8f49e223d7ce6176cfca3ab505 | |
parent | psim: Move -Dxxx to configure.ac (diff) | |
download | rtems-b06e8d613232026daebe190fc6d278826e5737d8.tar.bz2 |
qemuppc: Move -Dxxx to configure.ac
Updates #3425.
Diffstat (limited to '')
-rw-r--r-- | bsps/powerpc/qemuppc/config/qemuppc.cfg | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/qemuppc/configure.ac | 1 |
2 files changed, 2 insertions, 1 deletions
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 |