source: rtems/make/custom/mtx603e.cfg @ 61786ca4

4.104.114.84.95
Last change on this file since 61786ca4 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.6 KB
Line 
1#
2#  Config file for Motorola MTX603e -- a MPC603e ATX form factor board
3#
4#  mcp750.cfg,v 1.24 2002/04/18 13:07:35 joel Exp
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc6xx
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.
17CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e
18
19# optimize flag: typically -0, could use -O4 or -fast
20# -O4 is ok for RTEMS
21# NOTE2: some level of -O may be actually required by inline assembler (at least
22# -O2 so far.
23# NOTE2 Apparently nobody really knows the status or r2 and r13.
24# As far as I know, small data are pointer impose a very specific compliation
25# model => not used.
26# Currently the sdata2 and sbss2 sections are empty => r2 is not used...
27CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
28
29# debug flags: typically none, but at least -O1 is required due to this
30# BSP using inlined code
31CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
32
33define make-exe
34        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
35           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
36        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
37        $(SIZE) $(basename $@).nxe
38        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
39        gzip -vf9 rtems
40        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
41        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
42        -Map $(basename $@).map && chmod 755 $@
43        rm -f rtems.gz
44endef
45
46# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.