source: rtems/make/custom/mvme2100.cfg @ 7d12e020

4.104.114.84.95
Last change on this file since 7d12e020 was 7d12e020, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 11:24:48

Add -g to CFLAGS_OPTIMIZE_V.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  Config file for Motorola MVME2100 -- a MPC8240 VMEBus board
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc8240
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 = -O2 -g -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
35define make-cxx-exe
36        $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
37           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
38        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
39        $(SIZE) $(basename $@).nxe
40        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
41        gzip -vf9 rtems
42        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
43        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
44        -Map $(basename $@).map && chmod 755 $@
45        rm -f rtems.gz
46endef
47
48# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.