4.104.114.84.95
Last change
on this file since 4233e1f was
b1ad6d3,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 06:02:16
|
2007-01-18 Ralf Corsépius <ralf.corsepius@…>
- custom/csb336.cfg, custom/edb7312.cfg, custom/gba.cfg:
CFLAGS_OPTIMIZE_V = -O2.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[9c448e1] | 1 | # |
---|
| 2 | # Config file for a PowerPC 603e based Vista VMEbus Single Board Computer. |
---|
| 3 | # This BSP should work with the following models: |
---|
| 4 | # |
---|
| 5 | # + Vista SCORE 603e |
---|
| 6 | # |
---|
| 7 | # $Id$ |
---|
| 8 | # |
---|
| 9 | |
---|
[bbb6af24] | 10 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 11 | |
---|
[b290da4c] | 12 | RTEMS_CPU=powerpc |
---|
[a093b8f] | 13 | RTEMS_CPU_MODEL=mpc6xx |
---|
[9c448e1] | 14 | |
---|
| 15 | # This is the actual bsp directory used during the build process. |
---|
| 16 | |
---|
| 17 | RTEMS_BSP_FAMILY=score603e |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | # This contains the compiler options necessary to select the CPU model |
---|
| 21 | # and (hopefully) optimize for it. |
---|
| 22 | # |
---|
[a093b8f] | 23 | CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align |
---|
[9c448e1] | 24 | |
---|
[0c642539] | 25 | # optimize flag: typically -O2 |
---|
[9c448e1] | 26 | # NOTE: some level of -O may be actually required by inline assembler |
---|
[b1ad6d3] | 27 | CFLAGS_OPTIMIZE_V=-O2 -fno-keep-inline-functions |
---|
[9c448e1] | 28 | |
---|
| 29 | define make-exe |
---|
[df49c60] | 30 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
[54d3d1e] | 31 | -o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS) |
---|
[9c448e1] | 32 | $(NM) -g -n $(basename $@).elf > $(basename $@).num |
---|
| 33 | $(SIZE) $(basename $@).elf |
---|
| 34 | $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1 |
---|
| 35 | sed -e 's/.$$//' $(basename $@).s1 | \ |
---|
[b290da4c] | 36 | $(PACKHEX) >$(basename $@).exe |
---|
[9c448e1] | 37 | rm -f $(basename $@).s1 |
---|
| 38 | endef |
---|
| 39 | |
---|
| 40 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.