source: rtems/make/custom/mvme162.cfg @ 4233e1f

4.104.114.84.95
Last change on this file since 4233e1f was 4233e1f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 06:05:27

Cosmetics.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the mvme162 BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10
11RTEMS_MVME162_MODEL=mvme162
12RTEMS_CPU_MODEL=m68040
13
14# This is the actual bsp directory used during the build process.
15RTEMS_BSP_FAMILY=mvme162
16
17#  This contains the compiler options necessary to select the CPU model
18#  and (hopefully) optimize for it.
19#
20
21CPU_CFLAGS = -m68040
22
23# optimize flag: typically -O2
24CFLAGS_OPTIMIZE_V = -O4 -fomit-frame-pointer
25
26# The following are definitions of make-exe which will work using ld as
27# is currently required.  It is expected that as of gcc 2.8, the end user
28# will be able to override parts of the compilers specs and link using gcc.
29
30define make-exe
31        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
32            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
33        #$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec
34        #sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
35        #    $(PACKHEX) > $(basename $@).exe
36        $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe
37        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
38        $(SIZE) $(basename $@).nxe
39endef
40
41# Miscellaneous additions go here
42
43# BSP-specific tools
44SLOAD=$(PROJECT_TOOLS)/sload
Note: See TracBrowser for help on using the repository browser.