Updates #3425. --- bsps/powerpc/virtex/config/virtex.cfg | 2 +- c/src/lib/libbsp/powerpc/virtex/configure.ac | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/bsps/powerpc/virtex/config/virtex.cfg b/bsps/powerpc/virtex/config/virtex.cfg index 412b0da..c108b01 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 ceea283..b70adf1 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 -- 1.8.3.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel