Line | |
---|
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. |
---|
12 | CPU_CFLAGS = -mcpu=powerpc -msoft-float |
---|
13 | |
---|
14 | # optimize flag: typically -O2 |
---|
15 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
16 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
17 | |
---|
18 | LDFLAGS = -Wl,--gc-sections |
---|
19 | |
---|
20 | define bsp-post-link |
---|
21 | $(default-bsp-post-link) |
---|
22 | $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
23 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.