source: rtems/make/custom/score603e.cfg @ 0c642539

4.104.114.84.9
Last change on this file since 0c642539 was 0c642539, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 30, 2006 at 6:46:38 AM

Cleanup.

  • Property mode set to 100644
File size: 1.1 KB
Line 
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
10include $(RTEMS_ROOT)/make/custom/default.cfg
11
12RTEMS_CPU=powerpc
13RTEMS_CPU_MODEL=mpc6xx
14
15# This is the actual bsp directory used during the build process.
16
17RTEMS_BSP_FAMILY=score603e
18
19
20#  This contains the compiler options necessary to select the CPU model
21#  and (hopefully) optimize for it.
22#
23CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
24
25# optimize flag: typically -O2
26# NOTE: some level of -O may be actually required by inline assembler
27CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
28# CFLAGS_OPTIMIZE_V=-O0
29
30define make-exe
31        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
32            -o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS)
33        $(NM) -g -n $(basename $@).elf > $(basename $@).num
34        $(SIZE) $(basename $@).elf
35        $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1
36        sed -e 's/.$$//' $(basename $@).s1 | \
37          $(PACKHEX) >$(basename $@).exe
38        rm -f $(basename $@).s1
39endef
40
41# Miscellaneous additions go here
42
43DRIVER_ARCHITECTURE=vmebus
Note: See TracBrowser for help on using the repository browser.