ss555: Move -Dxxx to configure.ac

Updates #3425.
This commit is contained in:
Joel Sherrill
2018-05-16 09:57:37 -05:00
parent 1a418189de
commit c20001c4fc
2 changed files with 3 additions and 2 deletions

View File

@@ -10,12 +10,11 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=powerpc
GCC_CPU_MODEL=505
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -Dmpc555
CPU_CFLAGS = -mcpu=505
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions

View File

@@ -39,6 +39,8 @@ RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
I/O. Don't open the printk port from RTEMS unless also using polled I/O
for the SCI ports.])
AC_DEFINE(mpc555, 1, [PowerPC model option])
RTEMS_BSP_CLEANUP_OPTIONS
# Explicitly list a Makefile here