source:
rtems/make/custom/mvme2100.cfg
@
14d345d2
Last change on this file since 14d345d2 was 14d345d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 07:10:51 | |
---|---|
|
|
File size: 1.5 KB |
Line | |
---|---|
1 | # |
2 | # Config file for Motorola MVME2100 -- a MPC8240 VMEBus board |
3 | # |
4 | # $Id$ |
5 | # |
6 | |
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
8 | |
9 | RTEMS_CPU=powerpc |
10 | RTEMS_CPU_MODEL=mpc8240 |
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 | CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e |
18 | |
19 | # optimize flag: typically -O2 |
20 | CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align |
21 | |
22 | define make-exe |
23 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
24 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
25 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
26 | $(SIZE) $(basename $@).nxe |
27 | $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems |
28 | gzip -vf9 rtems |
29 | $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
30 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
31 | -Map $(basename $@).map && chmod 755 $@ |
32 | rm -f rtems.gz |
33 | endef |
34 | |
35 | define make-cxx-exe |
36 | $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
37 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
38 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
39 | $(SIZE) $(basename $@).nxe |
40 | $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems |
41 | gzip -vf9 rtems |
42 | $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
43 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
44 | -Map $(basename $@).map && chmod 755 $@ |
45 | rm -f rtems.gz |
46 | endef |
47 | |
48 | # Miscellaneous additions go here |
Note: See TracBrowser
for help on using the repository browser.