Files
rtems-patmos/c/src/lib/libbsp/patmos/pasim/make/custom/pasim.cfg
2014-05-15 16:50:44 +01:00

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