source: rtems/make/custom/c4xsim.cfg @ c6eba79

4.104.114.84.95
Last change on this file since c6eba79 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: 837 bytes
Line 
1#
2#  Configuration file for the GDB C4x simulator
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU_MODEL=c40
10
11#  This contains the compiler options necessary to select the CPU model
12#  and (hopefully) optimize for it.
13CPU_CFLAGS = -mcpu=40 #-msmall
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.