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

4.104.114.84.95
Last change on this file since 0c642539 was 0c642539, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/30/06 at 06:46:38

Cleanup.

  • Property mode set to 100644
File size: 1.1 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 -O2
22# NOTE: some level of -O may be actually required by inline assembler
23#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
24CFLAGS_OPTIMIZE_V = -O4
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
28           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
29        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
30        $(SIZE) $(basename $@).nxe
31        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
32        gzip -vf9 rtems
33        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
34        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
35        -Map $(basename $@).map && chmod 755 $@
36        rm -f rtems.gz
37endef
38
39# Miscellaneous additions go here
40
41# No start file
42START_BASE=
Note: See TracBrowser for help on using the repository browser.