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

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