source: rtems/make/custom/simcpu32.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: 804 bytes
Line 
1#
2#  Configuration file for a simcpu32 in BSCV
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=mcpu32
11
12#  This contains the compiler options necessary to select the CPU model
13#  and (hopefully) optimize for it.
14CPU_CFLAGS = -mcpu32
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=sim68000
18
19# optimize flag: typically -O2
20CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
21
22# The following are definitions of make-exe which will work using ld as
23# is currently required.
24
25define make-exe
26        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
27            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
28        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).exe
29        $(NM) -g -n $@ > $(basename $@).num
30        $(SIZE) $@
31endef
32
33# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.