diff options
author | Joel Sherrill <joel@rtems.org> | 2018-05-16 09:47:07 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-05-18 08:22:32 -0500 |
commit | 01da0ac3b90086e61789a9cf0aed6260408f513e (patch) | |
tree | d016308bcced3d386fa61df747d20b462c5fb7ad | |
parent | beatnik: Move -Dxxx to configure.ac (diff) | |
download | rtems-01da0ac3b90086e61789a9cf0aed6260408f513e.tar.bz2 |
haleakala: Move -Dxxx to configure.ac
Updates #3425.
-rw-r--r-- | bsps/powerpc/haleakala/config/haleakala.cfg | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/haleakala/configure.ac | 2 |
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 |