source: rtems/make/custom/helas403.cfg @ 2f6b417

Last change on this file since 2f6b417 was 2f6b417, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 11:27:07

Add -g to CFLAGS_OPTIMIZE_V.

  • Property mode set to 100644
File size: 886 bytes
Line 
1#
2#  Config file for a PowerPC 403 based helas403 card
3#
4#  $Id$
5#
6#
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10RTEMS_CPU=powerpc
11RTEMS_CPU_MODEL=ppc403
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=helas403
15
16#  This contains the compiler options necessary to select the CPU model
17#  and (hopefully) optimize for it.
18#
19CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc403
20
21# optimize flag: typically -O2
22CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
23
24# No start file
25START_BASE=
26
27# The following are definitions of make-exe which will work using ld as
28# is currently required.
29
30define make-exe
31        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
32            $(LINK_OBJS) $(LINK_LIBS)
33        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
34        $(NM) -g -n $@ > $(basename $@).num
35        $(SIZE) $@
36endef
37
38# Miscellaneous additions go here
39
Note: See TracBrowser for help on using the repository browser.