source: rtems/make/custom/mvme167.cfg @ d2d3482

4.104.114.84.9
Last change on this file since d2d3482 was d2d3482, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2007 at 7:00:28 AM

Remove obsolete comments referring to gcc-2.8.

  • 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 = -O4 -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.