source: rtems/make/custom/av5282.cfg @ 0c642539

4.104.114.84.9
Last change on this file since 0c642539 was 0c642539, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 30, 2006 at 6:46:38 AM

Cleanup.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the uC5282 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=mcf5282
13
14include $(RTEMS_ROOT)/make/custom/default.cfg
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=av5282
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
27ifndef MTARGET
28MTARGET=ram
29endif
30
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
36
37define make-exe
38        $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \
39            $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
40        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
41        $(SIZE) $(basename $@).nxe
42endef
43define make-cxx-exe
44        $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \
45            $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds
46        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
47        $(SIZE) $(basename $@).nxe
48endef
49
50# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.