Line | |
---|
1 | # |
---|
2 | # Config file for Motorola MCP750 -- a MPC750 CompactPCI board |
---|
3 | # |
---|
4 | # $Id$ |
---|
5 | # |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
8 | |
---|
9 | RTEMS_CPU=powerpc |
---|
10 | RTEMS_CPU_MODEL=mpc750 |
---|
11 | |
---|
12 | # This is the actual bsp directory used during the build process. |
---|
13 | RTEMS_BSP_FAMILY=motorola_powerpc |
---|
14 | |
---|
15 | # This contains the compiler options necessary to select the CPU model |
---|
16 | # and (hopefully) optimize for it. |
---|
17 | # |
---|
18 | CPU_CFLAGS = -mcpu=750 -Dmpc750 |
---|
19 | |
---|
20 | # optimize flag: typically -O2 |
---|
21 | CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align |
---|
22 | |
---|
23 | define make-exe |
---|
24 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
25 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
26 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
---|
27 | $(SIZE) $(basename $@).nxe |
---|
28 | $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems |
---|
29 | gzip -vf9 rtems |
---|
30 | $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
---|
31 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
32 | -Map $(basename $@).map && chmod 755 $@ |
---|
33 | rm -f rtems.gz |
---|
34 | endef |
---|
35 | |
---|
36 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.