source: rtems/make/custom/uC5282.cfg @ 1469b45b

4.104.114.84.95
Last change on this file since 1469b45b was ad0b1f5, checked in by Eric Norum <WENorum@…>, on 02/08/05 at 20:56:20

Put -m5200 back in link-edit commands until proper versions of gcc (which take
-m528x as an order to load the -m5200 multilib variants) are widely available.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the uC5282 BSP
3#
4
5RTEMS_CPU = m68k
6RTEMS_CPU_MODEL = mcf5282
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10# This is the actual bsp directory used during the build process.
11RTEMS_BSP_FAMILY = uC5282
12
13#  This contains the compiler options necessary to select the CPU model
14#  and (hopefully) optimize for it.
15CPU_CFLAGS = -m528x
16
17# GCC-4.0 (ATM, doesn't work with optimization levels > 0):
18# CFLAGS_OPTIMIZE_V= -O0 -fomit-frame-pointer
19CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
20
21# The following are definitions of make-exe which will work using ld as
22# is currently required.  It is expected that as of gcc 2.8, the end user
23# will be able to override parts of the compilers specs and link using gcc.
24
25define make-exe
26        $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \
27            $(LINK_OBJS) $(LINK_LIBS)
28        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
29        $(SIZE) $(basename $@).nxe
30endef
31define make-cxx-exe
32        $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \
33            $(LINK_OBJS) $(LINK_LIBS)
34        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
35        $(SIZE) $(basename $@).nxe
36endef
37
38# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.