5
Rev | Line | |
---|
[16a8616] | 1 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 2 | |
---|
| 3 | RTEMS_CPU=powerpc |
---|
| 4 | |
---|
| 5 | # This contains the compiler options necessary to select the CPU model |
---|
| 6 | # and (hopefully) optimize for it. |
---|
| 7 | # |
---|
[eaf5bec] | 8 | CPU_CFLAGS = -mcpu=440 -msoft-float |
---|
[16a8616] | 9 | |
---|
| 10 | # optimize flag: typically -O2 |
---|
| 11 | CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions |
---|
[82bf2773] | 12 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
| 13 | |
---|
| 14 | LDFLAGS = -Wl,--gc-sections |
---|
[16a8616] | 15 | |
---|
| 16 | # Miscellaneous additions go here |
---|
| 17 | define bsp-post-link |
---|
| 18 | $(default-bsp-post-link) |
---|
[efdda565] | 19 | $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
[16a8616] | 20 | endef |
---|
| 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.