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

4.104.114.84.95
Last change on this file since c6eba79 was c6eba79, checked in by Joel Sherrill <joel.sherrill@…>, on 05/10/07 at 17:36:19

2007-05-10 Joel Sherrill <joel.sherrill@…>

  • custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/pc386.cfg, custom/sim68000.cfg, custom/ts_386ex.cfg: Clean up to use .nxe extension instead of BSP unique ones.
  • Property mode set to 100644
File size: 831 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) $(basename $@).nxe
31endef
32# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.