Files
rtems-patmos/c/src/lib/libbsp/patmos/tcrest/make/custom/tcrest.cfg
2014-05-02 15:56:41 +02:00

24 lines
883 B
INI
Executable File

#
# Config file for the TCREST PATMOS processor.
#
# $Id: tcrest.cfg,v 1.00 2014/03/27 15:17:12 Andre Rocha $
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=patmos
RTEMS_CPU_MODEL=tcrest
# 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 -Xllc -trap-func=abort_trap -mpatmos-disable-vliw
# 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 -mpatmos-disable-vliw
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