forked from Imagelibrary/rtems
@@ -10,12 +10,11 @@
|
|||||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||||
|
|
||||||
RTEMS_CPU=powerpc
|
RTEMS_CPU=powerpc
|
||||||
GCC_CPU_MODEL=505
|
|
||||||
|
|
||||||
# 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=$(GCC_CPU_MODEL) -Dmpc555
|
CPU_CFLAGS = -mcpu=505
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
@@ -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
|
I/O. Don't open the printk port from RTEMS unless also using polled I/O
|
||||||
for the SCI ports.])
|
for the SCI ports.])
|
||||||
|
|
||||||
|
AC_DEFINE(mpc555, 1, [PowerPC model option])
|
||||||
|
|
||||||
RTEMS_BSP_CLEANUP_OPTIONS
|
RTEMS_BSP_CLEANUP_OPTIONS
|
||||||
|
|
||||||
# Explicitly list a Makefile here
|
# Explicitly list a Makefile here
|
||||||
|
|||||||
Reference in New Issue
Block a user