source: rtems/make/custom/sim68000.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: 815 bytes
Line 
1#
2#  Config file for a BSVC m68k simulator
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=m68000
11
12#  This contains the compiler options necessary to select the CPU model
13#  and (hopefully) optimize for it.
14CPU_CFLAGS = -m68000
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 $@).nxe > $(basename $@).num
30        $(SIZE) $@
31endef
32# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.