source: rtems/c/src/lib/libbsp/mips/rbtx4938/make/custom/rbtx4938.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: 544 bytes
Line 
1#
2#  Config file for the Toshiba RBTX4938 evaluation board with TX4938 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) --srec-len=30 -O srec $@ $(basename $@)$(DOWNEXT)
19        $(default-bsp-post-link)
20endef
Note: See TracBrowser for help on using the repository browser.