source: rtems/c/src/lib/libbsp/mips/rbtx4925/make/custom/rbtx4925.cfg @ c4905d8d

5
Last change on this file since c4905d8d 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: 623 bytes
Line 
1#
2#  Config file for the Toshiba RBTX4925 evaluation board with TX4925 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
13CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
14
15LDFLAGS = -Wl,--gc-sections
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.