4.104.114.84.95
Last change
on this file since eec76f3c was
eec76f3c,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/02 at 15:51:29
|
2002-05-01 Ralf Corsepius <corsepiu@…>
- custom/dmv177.cfg: Use -mcpu=603e.
- custom/ppcn_60x.cfg: Use -mcpu=603e.
- custom/psim.cfg: Use -mcpu=603e.
- custom/score603e.cfg: Use -mcpu=603e.
- custom/ts_386ex.cfg: Remove obsolete comments.
- custom/rxgen960.cfg: Remove obsolete comments.
- custom/cvme961.cfg: Remove obsolete comments.
|
-
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 |
---|
[9c448e1] | 13 | RTEMS_CPU_MODEL=ppc603e |
---|
| 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 | # |
---|
[eec76f3c] | 23 | CPU_CFLAGS = -mcpu=603e -D_OLD_EXCEPTIONS -Dppc603e |
---|
[9c448e1] | 24 | |
---|
| 25 | # optimize flag: typically -0, could use -O4 or -fast |
---|
| 26 | # -O4 is ok for RTEMS |
---|
| 27 | # NOTE: some level of -O may be actually required by inline assembler |
---|
| 28 | CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
| 29 | # CFLAGS_OPTIMIZE_V=-O0 |
---|
| 30 | |
---|
| 31 | define make-exe |
---|
[df49c60] | 32 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
[54d3d1e] | 33 | -o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS) |
---|
[9c448e1] | 34 | $(NM) -g -n $(basename $@).elf > $(basename $@).num |
---|
| 35 | $(SIZE) $(basename $@).elf |
---|
| 36 | $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1 |
---|
| 37 | sed -e 's/.$$//' $(basename $@).s1 | \ |
---|
[b290da4c] | 38 | $(PACKHEX) >$(basename $@).exe |
---|
[9c448e1] | 39 | rm -f $(basename $@).s1 |
---|
| 40 | endef |
---|
| 41 | |
---|
| 42 | # Miscellaneous additions go here |
---|
| 43 | |
---|
| 44 | DRIVER_ARCHITECTURE=vmebus |
---|
Note: See
TracBrowser
for help on using the repository browser.