source: rtems/make/custom/mtx603e.cfg @ 4233e1f

4.104.114.84.95
Last change on this file since 4233e1f was 4233e1f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 06:05:27

Cosmetics.

  • Property mode set to 100644
File size: 1.1 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 -O2
20CFLAGS_OPTIMIZE_V = -O4 -mmultiple -mstring -mstrict-align
21
22define make-exe
23        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
24           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
25        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
26        $(SIZE) $(basename $@).nxe
27        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
28        gzip -vf9 rtems
29        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
30        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
31        -Map $(basename $@).map && chmod 755 $@
32        rm -f rtems.gz
33endef
34
35# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.