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

4.104.114.84.95
Last change on this file since d2d3482 was d2d3482, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 07:00:28

Remove obsolete comments referring to gcc-2.8.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for the mcf5235 BSP
3#
4#Based on:
5#  $Id$
6#
7# A0.01 Initial Version                   BDS   07/26/01
8#
9
10
11RTEMS_CPU=m68k
12RTEMS_CPU_MODEL=mcf5235
13
14include $(RTEMS_ROOT)/make/custom/default.cfg
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=mcf5235
18
19#  This contains the compiler options necessary to select the CPU model
20#  and (hopefully) optimize for it.
21CPU_CFLAGS = -m528x
22
23
24# optimize flag: typically -O2
25CFLAGS_OPTIMIZE_V = -O4 -fomit-frame-pointer
26
27
28ifndef MTARGET
29MTARGET=ram
30endif
31
32# The following are definitions of make-exe which will work using ld as
33# is currently required.
34
35define make-exe
36        $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
37            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
38        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
39        $(SIZE) $(basename $@).nxe
40endef
41define make-cxx-exe
42        $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
43            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
44        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
45        $(SIZE) $(basename $@).nxe
46endef
47
48# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.