5
Line | |
---|
1 | # |
---|
2 | # Config file for Motorola MVME2100 -- a MPC8240 VMEBus board |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU=powerpc |
---|
8 | |
---|
9 | # This contains the compiler options necessary to select the CPU model |
---|
10 | # and (hopefully) optimize for it. |
---|
11 | CPU_CFLAGS = -mcpu=603e |
---|
12 | |
---|
13 | # optimize flag: typically -O2 |
---|
14 | CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align |
---|
15 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
16 | |
---|
17 | LDFLAGS = -Wl,--gc-sections |
---|
18 | |
---|
19 | define bsp-post-link |
---|
20 | $(default-bsp-post-link) |
---|
21 | $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems |
---|
22 | gzip -vf9 rtems |
---|
23 | $(LD) -o $(basename $@)$(DOWNEXT) \ |
---|
24 | $(PROJECT_RELEASE)/lib/bootloader.o \ |
---|
25 | --just-symbols=$(basename $@)$(EXEEXT) \ |
---|
26 | --no-warn-mismatch \ |
---|
27 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
28 | -Map $(basename $@).map && chmod 755 $@ |
---|
29 | rm -f rtems.gz |
---|
30 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.