source: rtems/make/custom/leon2.cfg @ 73cdeb6

4.104.114.84.95
Last change on this file since 73cdeb6 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: 794 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
10RTEMS_CPU_MODEL=leon2
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=leon2
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16CPU_CFLAGS = -mcpu=cypress -msoft-float
17
18# optimize flag: typically -O2
19CFLAGS_OPTIMIZE_V = -O2 -g
20
21# The following are definitions of make-exe which will work using ld as
22# is currently required.
23
24define make-exe
25        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
26            $(LINK_OBJS) $(LINK_LIBS)
27        $(NM) -g -n $(basename $@).exe > $(basename $@).num
28        $(SIZE) $(basename $@).exe
29endef
30# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.