mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
25 lines
815 B
INI
Executable File
25 lines
815 B
INI
Executable File
#
|
|
# Config file for the PASIM PATMOS processor.
|
|
#
|
|
# $Id: pasim.cfg,v 1.00 2013/06/14 15:17:12 André Rocha $
|
|
#
|
|
|
|
include $(RTEMS_ROOT)/make/custom/default.cfg
|
|
|
|
RTEMS_CPU=patmos
|
|
RTEMS_CPU_MODEL=pasim
|
|
|
|
# This contains the compiler options necessary to select the CPU model
|
|
# and (hopefully) optimize for it.
|
|
CPU_CFLAGS = -msoft-float
|
|
|
|
# optimize flag: typically -O2
|
|
CFLAGS_OPTIMIZE_V = -O2 -g
|
|
|
|
# debug flags: disable optimizations
|
|
# We need the optimized register allocator here, the fast register allocator at -O0 wants to introduce spill code in naked functions.
|
|
CFLAGS_DEBUG_V = -O0 -Xllc -optimize-regalloc
|
|
|
|
LINK_LIBS += $(PROJECT_RELEASE)/lib/start.o $(PROJECT_RELEASE)/lib/libsyms.ll -l=c -l=rtemscpu -l=rtemsbsp -nostartfiles \
|
|
-Xgold -Map -Xgold map.map -Xgold --script=$(PROJECT_RELEASE)/lib/linkcmds
|