source: rtems/make/custom/hurricane.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: 992 bytes
Line 
1#
2#  Config file for the Quick Logic Hurricane evaluation board with PMC-Sierra RM5231 cpu
3#
4#  hurricane.cfg,v 1.21 2002/06/14 17:31:20 joel Exp
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU_MODEL=rm5231
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=hurricane
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16CPU_CFLAGS = -mips3 -G0 -EL
17
18# optimize flag: typically -O2
19CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
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) \
26            -o $@ -Xlinker -Map -Xlinker $(basename $@).map $(LINK_OBJS) $(LINK_LIBS)
27        $(OBJCOPY) -O srec $@ $(basename $@).srec1
28        $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
29        $(RM) $(basename $@).srec1
30        $(NM) -g -n $@ > $(basename $@).num
31        $(SIZE) $@
32endef
33
34# Miscellaneous additions go here
35
Note: See TracBrowser for help on using the repository browser.