source: rtems/c/src/lib/libbsp/lm32/milkymist/make/custom/milkymist.cfg @ f953a85

5
Last change on this file since f953a85 was efdda565, checked in by Nick Withers <nick.withers@…>, on 08/09/13 at 04:18:17

Use $(EXEEXT) [defaults to "exe"] to generate binaries

  • Property mode set to 100644
File size: 689 bytes
Line 
1#
2#  Config file for the milkymist BSP
3#
4
5# Choices for CPU_MODEL:
6#   tiny (no cache)
7#   standard (instruction cache)
8#   fast (instruction and data cache)
9
10RTEMS_CPU = lm32
11RTEMS_CPU_MODEL = lm32
12
13include $(RTEMS_ROOT)/make/custom/default.cfg
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17CPU_CFLAGS = -mbarrel-shift-enabled -mmultiply-enabled \
18            -mdivide-enabled -msign-extend-enabled
19
20# optimize flag: typically -O2
21CFLAGS_OPTIMIZE_V = -O2 -g
22
23define bsp-post-link
24        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
25            -R entry -R exceptions $(basename $@)$(DOWNEXT)
26        $(default-bsp-post-link)
27endef
Note: See TracBrowser for help on using the repository browser.