source: rtems/make/custom/uC5282.cfg @ 4233e1f

4.104.114.84.95
Last change on this file since 4233e1f was bac803cf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/14/06 at 02:36:01

Remove hard-code compiler flags.

  • Property mode set to 100644
File size: 1.1 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# CFLAGS_OPTIMIZE_V= -O0 -fomit-frame-pointer
18CFLAGS_OPTIMIZE_V= -O4 -g
19
20# The following are definitions of make-exe which will work using ld as
21# is currently required.  It is expected that as of gcc 2.8, the end user
22# will be able to override parts of the compilers specs and link using gcc.
23
24define make-exe
25        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
26            $(LINK_OBJS) $(LINK_LIBS)
27        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
28        $(SIZE) $(basename $@).nxe
29endef
30define make-cxx-exe
31        $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
32            $(LINK_OBJS) $(LINK_LIBS)
33        $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
34        $(SIZE) $(basename $@).nxe
35endef
36
37# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.