5
Rev | Line | |
---|
[91030f6d] | 1 | # |
---|
| 2 | # Config file for the PowerPC 8540 based mvme3100 |
---|
| 3 | # |
---|
| 4 | # |
---|
| 5 | |
---|
| 6 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 7 | |
---|
| 8 | RTEMS_CPU=powerpc |
---|
| 9 | |
---|
| 10 | # This contains the compiler options necessary to select the CPU model |
---|
| 11 | # and (hopefully) optimize for it. |
---|
[5aa8ac2] | 12 | CPU_CFLAGS = -mcpu=powerpc -msoft-float |
---|
[91030f6d] | 13 | |
---|
| 14 | # optimize flag: typically -O2 |
---|
| 15 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
[e5e0acd] | 16 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
| 17 | |
---|
| 18 | LDFLAGS = -Wl,--gc-sections |
---|
[91030f6d] | 19 | |
---|
| 20 | define bsp-post-link |
---|
| 21 | $(default-bsp-post-link) |
---|
[efdda565] | 22 | $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
[91030f6d] | 23 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.