# # Config file for Blackfin TLL6527M # include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU=bfin RTEMS_CPU_MODEL=bf52x # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. # CPU_CFLAGS =-mcpu=bf527 # optimize flag: typically -O2 # gcc-4.2.0 segfaults on -OX > -O0 CFLAGS_OPTIMIZE_V = -O2 -g CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections LDFLAGS = -Wl,--gc-sections