4.115
Last change
on this file since efdda565 was
efdda565,
checked in by Nick Withers <nick.withers@…>, on 08/09/13 at 04:18:17
|
Use $(EXEEXT) [defaults to "exe"] to generate binaries
|
-
Property mode set to
100644
|
File size:
831 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for Motorola MTX603e -- a MPC603e ATX form factor board |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU=powerpc |
---|
8 | RTEMS_CPU_MODEL=mpc6xx |
---|
9 | |
---|
10 | # This contains the compiler options necessary to select the CPU model |
---|
11 | # and (hopefully) optimize for it. |
---|
12 | CPU_CFLAGS = -mcpu=603e -Dppc603e |
---|
13 | |
---|
14 | # optimize flag: typically -O2 |
---|
15 | CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align |
---|
16 | |
---|
17 | define bsp-post-link |
---|
18 | $(default-bsp-post-link) |
---|
19 | $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems |
---|
20 | gzip -vf9 rtems |
---|
21 | $(LD) -o $(basename $@)$(DOWNEXT) \ |
---|
22 | $(PROJECT_RELEASE)/lib/bootloader.o \ |
---|
23 | --just-symbols=$(basename $@)$(EXEEXT) \ |
---|
24 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
25 | -Map $(basename $@).map && chmod 755 $@ |
---|
26 | rm -f rtems.gz |
---|
27 | endef |
---|
28 | |
---|
29 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.