source: rtems/make/custom/mvme2307.cfg @ 11853d0

4.104.114.84.95
Last change on this file since 11853d0 was 61786ca4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/27/05 at 10:47:46

Remove RTEMS_PPC_EXCEPTION_PROCESSING_MODEL (Obsolete).

  • 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
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc604
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=motorola_powerpc
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
19#-msdata=eabi
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
31define make-exe
32        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
33           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
34        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
35        $(SIZE) $(basename $@).nxe
36        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
37        gzip -vf9 rtems
38        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
39        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
40        -Map $(basename $@).map && chmod 755 $@
41        rm -f rtems.gz
42endef
43
44# Miscellaneous additions go here
45
46# No start file
47START_BASE=
Note: See TracBrowser for help on using the repository browser.