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
|
Rev | Line | |
---|
[4f4ba92] | 1 | # |
---|
| 2 | # Config file for the Toshiba RBTX4925 evaluation board with TX4925 cpu |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | include $(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. |
---|
| 9 | CPU_CFLAGS = -mips3 -G0 -EL |
---|
| 10 | |
---|
| 11 | # optimize flag: typically -O2 |
---|
| 12 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
[5ebdd289] | 13 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
| 14 | |
---|
| 15 | LDFLAGS = -Wl,--gc-sections |
---|
[4f4ba92] | 16 | |
---|
| 17 | define bsp-post-link |
---|
| 18 | $(OBJCOPY) -O srec $@ $(basename $@).srec1 |
---|
| 19 | $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT) |
---|
| 20 | $(RM) $(basename $@).srec1 |
---|
| 21 | $(default-bsp-post-link) |
---|
| 22 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.