source: rtems/make/custom/mvme167.cfg @ 2d78d77

4.104.114.84.95
Last change on this file since 2d78d77 was 14d345d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 07:10:51

2007-01-18 Ralf Corsépius <ralf.corsepius@…>

  • custom/av5282.cfg, custom/bare.cfg, custom/dmv152.cfg, custom/gen405.cfg, custom/gen5200.cfg, custom/gen68302.cfg, custom/gen68340.cfg, custom/gen68360.cfg, custom/helas403.cfg, custom/hurricane.cfg, custom/i386ex.cfg, custom/idp.cfg, custom/mbx8xx.cfg, custom/mcf5206elite.cfg, custom/mcf5235.cfg, custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme5500.cfg, custom/ods68302.cfg, custom/pc386.cfg, custom/psim.cfg, custom/rbtx4925.cfg, custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg, custom/ts_386ex.cfg, custom/uC5282.cfg: CFLAGS_OPTIMIZE_V = -O2.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2#  Config file for the mvme167 BSP
3#
4#  $Id$
5#
6
7# THIS BSP USES ELF IMAGES. IT WILL NOT WORK WITH COFF UNLESS CHANGES
8# ARE MADE TO THE LINKCMDS FILE.
9
10RTEMS_CPU=m68k
11RTEMS_CPU_MODEL=m68040
12
13include $(RTEMS_ROOT)/make/custom/default.cfg
14
15# This is the actual bsp directory used during the build process.
16RTEMS_BSP_FAMILY=mvme167
17
18#
19#  This contains the compiler options necessary to select the CPU model
20#  and (hopefully) optimize for it.  We also specify the BSP during compilation.
21#  This should really get its own flag, but it works here.
22#
23
24CPU_CFLAGS = -m68040
25
26
27# optimize flag: typically -O2
28CFLAGS_OPTIMIZE_V = -O2 -fno-omit-frame-pointer
29
30# Here is the rule to actually build a $(ARCH)/foo.exe
31# It also builds $(ARCH)/foo.nm
32# Usage ref: src/tests/sptest/sp1/Makefile
33#
34# We use TFTP to transfer files to the MVME167. We generate binary files
35# rather than S-records. We skip the header during downloads.
36
37# The following are definitions of make-exe which will work using ld as
38# is currently required.
39
40# The MC68040 does not implement all MC68881/MC68882 instructions, so use
41# either the gcc floating-point software support (msoft-float libraries), or
42# use the Motorola FPSP floating-point emulator in
43#   rtems/c/src/lib/libcpu/m68k/m68040/fpsp
44# The default is to use the FPSP.
45# To use the msoft-float libraries, uncomment the three lines below.
46# You then should comment the M68KFPSPInstallExceptionHandlers() statement
47# in rtems/c/src/lib/libbsp/m68k/mvme167/startup/bststart.c in bsp_start().
48# Floating-point support will then be limited. See the mvme167 README file
49# for more details.
50define make-exe
51        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@)_sym.exe \
52            $(LINK_OBJS) $(LINK_LIBS)
53        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
54        cp $(basename $@)_sym.exe $(basename $@).exe
55        $(STRIP) $(basename $@).exe
56        $(SIZE) $(basename $@)_sym.exe
57endef
58
59# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.