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

4.104.114.84.9
Last change on this file since 7d12e020 was 7d12e020, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2007 at 11:24:48 AM

Add -g to CFLAGS_OPTIMIZE_V.

  • Property mode set to 100644
File size: 836 bytes
Line 
1#
2#  Configuration file for the GDB C4x simulator as a C3x
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU_MODEL=c32
10
11#  This contains the compiler options necessary to select the CPU model
12#  and (hopefully) optimize for it.
13CPU_CFLAGS = -mcpu=32
14
15# This is the actual bsp directory used during the build process.
16RTEMS_BSP_FAMILY=c4xsim
17
18# optimize flag: typically -O2
19# -O2 is broken for the moment on the C4x gcc
20#CFLAGS_OPTIMIZE_V = -O2
21CFLAGS_OPTIMIZE_V = -O1 -g
22
23# this target has no start file
24START_BASE=
25
26# The following are definitions of make-exe which will work using ld as
27# is currently required.
28
29define make-exe
30        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
31            $(LDLIBS) -o $@ \
32            $(LINK_OBJS) $(LINK_LIBS)
33        $(NM) -g -n $@ > $(basename $@).num
34        $(SIZE) $@
35endef
36
37# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.