diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 10:07:26 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:35 -0500 |
commit | eaf5bec4cd37c5e2a2659208ff937a635182933a (patch) | |
tree | 96dc876cf9083d884a39692c841a35a0a0b457ff | |
parent | virtex4: Move -Dxxx to configure.ac (diff) | |
download | rtems-eaf5bec4cd37c5e2a2659208ff937a635182933a.tar.bz2 |
virtex5: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r-- | bsps/powerpc/virtex5/config/virtex5.cfg | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex5/configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/virtex5/config/virtex5.cfg b/bsps/powerpc/virtex5/config/virtex5.cfg index 6f039da854..cb260db061 100644 --- a/bsps/powerpc/virtex5/config/virtex5.cfg +++ b/bsps/powerpc/virtex5/config/virtex5.cfg @@ -5,7 +5,7 @@ RTEMS_CPU=powerpc # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS = -mcpu=440 -Dppc440 -msoft-float +CPU_CFLAGS = -mcpu=440 -msoft-float # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions diff --git a/c/src/lib/libbsp/powerpc/virtex5/configure.ac b/c/src/lib/libbsp/powerpc/virtex5/configure.ac index 79fa2cdd0d..555fee040b 100644 --- a/c/src/lib/libbsp/powerpc/virtex5/configure.ac +++ b/c/src/lib/libbsp/powerpc/virtex5/configure.ac @@ -33,6 +33,8 @@ RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100]) RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], [This defines the base address of the exception table.]) +AC_DEFINE(ppc440, 1, [PowerPC model option]) + RTEMS_BSP_CLEANUP_OPTIONS # Explicitly list all Makefiles here |