4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for the PowerPC 604 based mvme2307 |
---|
3 | # |
---|
4 | # $Id$ |
---|
5 | # |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
8 | |
---|
9 | RTEMS_CPU=powerpc |
---|
10 | RTEMS_CPU_MODEL=mpc604 |
---|
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=604 -mmultiple -mstring -mstrict-align -meabi |
---|
19 | #-msdata=eabi |
---|
20 | |
---|
21 | # optimize flag: typically -O2 |
---|
22 | # NOTE: some level of -O may be actually required by inline assembler |
---|
23 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
24 | CFLAGS_OPTIMIZE_V = -O4 |
---|
25 | |
---|
26 | define make-exe |
---|
27 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
28 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
29 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
---|
30 | $(SIZE) $(basename $@).nxe |
---|
31 | $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems |
---|
32 | gzip -vf9 rtems |
---|
33 | $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
---|
34 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
35 | -Map $(basename $@).map && chmod 755 $@ |
---|
36 | rm -f rtems.gz |
---|
37 | endef |
---|
38 | |
---|
39 | # Miscellaneous additions go here |
---|
40 | |
---|
41 | # No start file |
---|
42 | START_BASE= |
---|
Note: See
TracBrowser
for help on using the repository browser.