source: rtems/c/src/lib/libbsp/mips/hurricane/make/custom/hurricane.cfg @ b6755af

5
Last change on this file since b6755af was b6755af, checked in by Sebastian Huber <sebastian.huber@…>, on 03/09/18 at 15:45:56

bsps/mips: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 639 bytes
RevLine 
[3ffcea46]1#
2#  Config file for the Quick Logic Hurricane evaluation board with PMC-Sierra RM5231 cpu
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7#  This contains the compiler options necessary to select the CPU model
8#  and (hopefully) optimize for it.
9CPU_CFLAGS = -mips3 -G0 -EL
10
11# optimize flag: typically -O2
12CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
[12bc6c5]13CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
14
15LDFLAGS = -Wl,--gc-sections
[3ffcea46]16
17define bsp-post-link
18        $(OBJCOPY) -O srec $@ $(basename $@).srec1
19        $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT)
20        $(RM) $(basename $@).srec1
21        $(default-bsp-post-link)
22endef
Note: See TracBrowser for help on using the repository browser.