diff options
-rw-r--r-- | bsps/powerpc/beatnik/config/beatnik.cfg | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/beatnik/configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bsps/powerpc/beatnik/config/beatnik.cfg b/bsps/powerpc/beatnik/config/beatnik.cfg index 1190cadf62..05bea383bf 100644 --- a/bsps/powerpc/beatnik/config/beatnik.cfg +++ b/bsps/powerpc/beatnik/config/beatnik.cfg @@ -14,7 +14,7 @@ RTEMS_BSP_FAMILY=beatnik # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # -CPU_CFLAGS = -mcpu=7400 -D__ppc_generic +CPU_CFLAGS = -mcpu=7400 #T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi # optimize flag: typically -0, could use -O4 or -fast diff --git a/c/src/lib/libbsp/powerpc/beatnik/configure.ac b/c/src/lib/libbsp/powerpc/beatnik/configure.ac index a48007ce6a..b332aaaffc 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/configure.ac +++ b/c/src/lib/libbsp/powerpc/beatnik/configure.ac @@ -34,6 +34,8 @@ Note that the policy can still be defined by the application CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.]) +AC_DEFINE(__ppc_generic, 1, [PowerPC model option]) + # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile]) |