diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 10:01:09 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:34 -0500 |
commit | 4afc1efa7dc05de9b23f015a311fba31e52c824b (patch) | |
tree | 4693dc928da57d8dd59dea5d9c95171974c9104a | |
parent | tqm8xx: Move -Dxxx to configure.ac (diff) | |
download | rtems-4afc1efa7dc05de9b23f015a311fba31e52c824b.tar.bz2 |
virtex: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r-- | bsps/powerpc/virtex/config/virtex.cfg | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex/configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/virtex/config/virtex.cfg b/bsps/powerpc/virtex/config/virtex.cfg index 412b0da7b9..c108b01bac 100644 --- a/bsps/powerpc/virtex/config/virtex.cfg +++ b/bsps/powerpc/virtex/config/virtex.cfg @@ -9,7 +9,7 @@ RTEMS_CPU=powerpc # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata=sysv -fno-common +CPU_CFLAGS = -mcpu=403 -meabi -msdata=sysv -fno-common # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS diff --git a/c/src/lib/libbsp/powerpc/virtex/configure.ac b/c/src/lib/libbsp/powerpc/virtex/configure.ac index ceea283e2e..b70adf1af5 100644 --- a/c/src/lib/libbsp/powerpc/virtex/configure.ac +++ b/c/src/lib/libbsp/powerpc/virtex/configure.ac @@ -36,6 +36,8 @@ VIRTEX_REGION([VIRTEX_FAST_RAM_LENGTH],[fast RAM region length],[0x0]) VIRTEX_REGION([VIRTEX_RESET_ORIGIN],[reset region origin],[0x7ffffec]) VIRTEX_REGION([VIRTEX_RESET_LENGTH],[reset region length],[0x14]) +AC_DEFINE(ppc405, 1, [PowerPC model option]) + RTEMS_BSP_CLEANUP_OPTIONS # Explicitly list all Makefiles here |