source: rtems/make/custom/mcf5235.cfg @ 72fbdbb

Last change on this file since 72fbdbb was 72fbdbb, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/14/06 at 02:42:50

Remove ASFLAGS, CPU_ASFLAGS (Unused).

  • Property mode set to 100644
File size: 1.2 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 -0, could use -O4 or -fast, -O4 is ok for RTEMS
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.  It is expected that as of gcc 2.8, the end user
34# will be able to override parts of the compilers specs and link using gcc.
35
36define make-exe
37        $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
38            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
39        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
40        $(SIZE) $(basename $@).nxe
41endef
42define make-cxx-exe
43        $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \
44            -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
45        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
46        $(SIZE) $(basename $@).nxe
47endef
48
49# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.