Back to home page

LXR

 
 

    


Warning, /bsps/lm32/lm32_evr/config/lm32_evr.cfg is written in an unsupported language. File is not indexed.

0001 #
0002 #  Config file for the lm32_evr BSP
0003 #
0004 
0005 # Choices for CPU_MODEL:
0006 #   tiny (no cache)
0007 #   standard (instruction cache)
0008 #   fast (instruction and data cache)
0009 
0010 RTEMS_CPU = lm32
0011 
0012 include $(RTEMS_ROOT)/make/custom/default.cfg
0013 
0014 #  This contains the compiler options necessary to select the CPU model
0015 #  and (hopefully) optimize for it.
0016 CPU_CFLAGS =
0017 
0018 # optimize flag: typically -O2
0019 # ATM, doesn't work with optimization levels > 0
0020 CFLAGS_OPTIMIZE_V = -O0 -g
0021 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0022 
0023 LDFLAGS = -Wl,--gc-sections
0024 
0025 define bsp-post-link
0026         $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
0027             -R entry -R exceptions $(basename $@)$(DOWNEXT)
0028         $(default-bsp-post-link)
0029 endef