source: rtems/make/custom/mvme2307.cfg @ 93d20478

4.104.114.84.95
Last change on this file since 93d20478 was 93d20478, checked in by Joel Sherrill <joel.sherrill@…>, on 11/21/01 at 18:39:06

2001-11-21 Ralf Corsepius <corsepiu@…>

  • custom/mvme2307.cfg: Reflect changes to motorola_powerpc/configure.ac.
  • custom/mcp750.cfg: Ditto.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1#
2#  Config file for the PowerPC 604 based mvme2307
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc604
11RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=motorola_powerpc
15
16#  This contains the compiler options necessary to select the CPU model
17#  and (hopefully) optimize for it.
18#
19CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align
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
25CFLAGS_OPTIMIZE_V = -O4
26
27# debug flags: typically none, but at least -O1 is required due to this
28# BSP using inlined code
29CFLAGS_DEBUG_V = -O1
30
31# profile flags: typically none, but at least -O1 is required due to this
32# BSP using inlined code
33CFLAGS_PROFILE_V = -O1   
34
35# The following is a linkcmds file which will work without using the
36# -specs system in gcc 2.8.
37#       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
38#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
39#       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
40#         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
41
42#       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
43#           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
44#            $(START_FILE) $(LINK_OBJS) \
45#            $(LD_LIBS) \
46#           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
47define make-exe
48        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
49           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
50        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
51        $(SIZE) $(basename $@).nxe
52        $(OBJCOPY) $(basename $@).nxe rtems -O binary -R .comment -S
53        gzip -vf9 rtems
54        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
55        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
56        -Map $(basename $@).map && chmod 755 $@
57        rm -f rtems.gz
58endef
59
60# Miscellaneous additions go here
61
62# No start file
63START_BASE=
Note: See TracBrowser for help on using the repository browser.