diff options
-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 |