source: rtems/make/custom/mvme147.cfg @ 11853d0

4.104.114.84.9
Last change on this file since 11853d0 was 11853d0, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 22, 2005 at 1:47:43 PM

Use .srec for files containing SRECs.

  • Property mode set to 100644
File size: 981 bytes
Line 
1#
2#  Config file for the mvme147 BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=m68030
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=mvme147
14
15# default flags
16CPU_CFLAGS=
17
18# optimize flag: typically -0, could use -O4 or -fast
19# -O4 is ok for RTEMS
20CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
21
22# The following are definitions of make-exe which will work using ld as
23# is currently required.  It is expected that as of gcc 2.8, the end user
24# will be able to override parts of the compilers specs and link using gcc.
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
28            $(LINK_OBJS) $(LINK_LIBS)
29        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec
30        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
31            $(PACKHEX) > $(basename $@).exe
32        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
33        $(SIZE) $(basename $@).nxe
34endef
35# Miscellaneous additions go here
36
Note: See TracBrowser for help on using the repository browser.