summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/powerpc/haleakala/config/haleakala.cfg2
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/haleakala/config/haleakala.cfg b/bsps/powerpc/haleakala/config/haleakala.cfg
index 90b9292d0b..148c699703 100644
--- a/bsps/powerpc/haleakala/config/haleakala.cfg
+++ b/bsps/powerpc/haleakala/config/haleakala.cfg
@@ -10,7 +10,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=405 -Dppc405
+CPU_CFLAGS = -mcpu=405
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
diff --git a/c/src/lib/libbsp/powerpc/haleakala/configure.ac b/c/src/lib/libbsp/powerpc/haleakala/configure.ac
index cabfc69332..cf3a552939 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/configure.ac
+++ b/c/src/lib/libbsp/powerpc/haleakala/configure.ac
@@ -25,6 +25,8 @@ RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
[This defines the base address of the exception table.
NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
+AC_DEFINE(ppc405, 1, [PowerPC model option])
+
RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list all Makefiles here