Last change
on this file since 7e9c793b was
7e9c793b,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/03 at 19:26:36
|
2003-03-18 Till Straumann <strauman@…>
PR 356/bsps
- custom/mvme2307.cfg: This patch makes RTEMS/PowerPC eabi compliant.
Enable EABI by adding -meabi -msdata=eabi CFLAGS.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
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 | RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
---|
12 | |
---|
13 | # This is the actual bsp directory used during the build process. |
---|
14 | RTEMS_BSP_FAMILY=motorola_powerpc |
---|
15 | |
---|
16 | # This contains the compiler options necessary to select the CPU model |
---|
17 | # and (hopefully) optimize for it. |
---|
18 | # |
---|
19 | CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi -msdata=eabi |
---|
20 | |
---|
21 | # optimize flag: typically -0, could use -O4 or -fast |
---|
22 | # -O4 is ok for RTEMS |
---|
23 | # NOTE: some level of -O may be actually required by inline assembler |
---|
24 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
25 | CFLAGS_OPTIMIZE_V = -O4 |
---|
26 | |
---|
27 | # debug flags: typically none, but at least -O1 is required due to this |
---|
28 | # BSP using inlined code |
---|
29 | CFLAGS_DEBUG_V = -O1 |
---|
30 | |
---|
31 | # profile flags: typically none, but at least -O1 is required due to this |
---|
32 | # BSP using inlined code |
---|
33 | CFLAGS_PROFILE_V = -O1 |
---|
34 | |
---|
35 | define make-exe |
---|
36 | $(LINK.c) $(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) $(basename $@).nxe rtems -O binary -R .comment -S |
---|
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 |
---|
49 | |
---|
50 | # No start file |
---|
51 | START_BASE= |
---|
Note: See
TracBrowser
for help on using the repository browser.