5
Line | |
---|
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 | # |
---|
8 | CPU_CFLAGS = -mcpu=405 |
---|
9 | |
---|
10 | # optimize flag: typically -O2 |
---|
11 | CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions |
---|
12 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
13 | |
---|
14 | LDFLAGS = -Wl,--gc-sections |
---|
15 | |
---|
16 | # Miscellaneous additions go here |
---|
17 | define bsp-post-link |
---|
18 | $(default-bsp-post-link) |
---|
19 | $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
20 | endef |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.