virtex4: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 10:01:26 -05:00
parent 4afc1efa7d
commit 17f69e4da2
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,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=405 -Dppc405 CPU_CFLAGS = -mcpu=405
# optimize flag: typically -O2 # optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions

View File

@@ -33,6 +33,8 @@ RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
[This defines the base address of the exception table.]) [This defines the base address of the exception table.])
AC_DEFINE(ppc405, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list all Makefiles here # Explicitly list all Makefiles here