mvme3100: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 09:50:11 -05:00
parent a03f73c13f
commit 5aa8ac2c9d
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ RTEMS_CPU=powerpc
# This contains the compiler options necessary to select the CPU model # This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it. # and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic CPU_CFLAGS = -mcpu=powerpc -msoft-float
# optimize flag: typically -O2 # optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g CFLAGS_OPTIMIZE_V = -O2 -g

View File

@@ -37,6 +37,8 @@ Note that the policy can still be defined by the application
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
and a little memory is saved.]) and a little memory is saved.])
AC_DEFINE(__ppc_generic, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list all Makefiles here # Explicitly list all Makefiles here