source: rtems/make/custom/leon3.cfg @ 59aea5d

4.104.114.84.95
Last change on this file since 59aea5d 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: 803 bytes
Line 
1#
2#  Config file for the European Space Agency ERC32 SPARC processor.
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=sparc
10
11RTEMS_CPU_MODEL=leon3
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=leon3
15
16#  This contains the compiler options necessary to select the CPU model
17#  and (hopefully) optimize for it.
18CPU_CFLAGS = -mcpu=cypress -msoft-float
19
20# optimize flag: typically -O2
21CFLAGS_OPTIMIZE_V = -O2 -g
22
23# The following are definitions of make-exe which will work using ld as
24# is currently required.
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
28           $(LINK_OBJS) $(LINK_LIBS)
29        $(NM) -g -n $(basename $@).exe > $(basename $@).num
30        $(SIZE) $(basename $@).exe
31endef
32# Miscellaneous additions go here
33
Note: See TracBrowser for help on using the repository browser.