4.104.114.84.95
Last change
on this file since 509dc304 was
22eda53c,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/26/04 at 17:26:35
|
2004-02-26 Joel Sherrill <joel@…>
PR 570/bsps
- custom/mvme2307.cfg: Do not use -msdata=eabi since
it breaks the linking of the vectors.
|
-
Property mode set to
100644
|
File size:
1.3 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 |
---|
20 | #-msdata=eabi |
---|
21 | |
---|
22 | # optimize flag: typically -0, could use -O4 or -fast |
---|
23 | # -O4 is ok for RTEMS |
---|
24 | # NOTE: some level of -O may be actually required by inline assembler |
---|
25 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
26 | CFLAGS_OPTIMIZE_V = -O4 |
---|
27 | |
---|
28 | # debug flags: typically none, but at least -O1 is required due to this |
---|
29 | # BSP using inlined code |
---|
30 | CFLAGS_DEBUG_V = -O1 |
---|
31 | |
---|
32 | define make-exe |
---|
33 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
34 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
35 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
---|
36 | $(SIZE) $(basename $@).nxe |
---|
37 | $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems |
---|
38 | gzip -vf9 rtems |
---|
39 | $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \ |
---|
40 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
41 | -Map $(basename $@).map && chmod 755 $@ |
---|
42 | rm -f rtems.gz |
---|
43 | endef |
---|
44 | |
---|
45 | # Miscellaneous additions go here |
---|
46 | |
---|
47 | # No start file |
---|
48 | START_BASE= |
---|
Note: See
TracBrowser
for help on using the repository browser.