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

4.104.114.84.9
Last change on this file since d2d3482 was d2d3482, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2007 at 7:00:28 AM

Remove obsolete comments referring to gcc-2.8.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  Config file for a "ODS 68302" BSP
3#
4#  Differs from the gen68302 by providing most of the boot code as C
5#  code. This allows separate board definitions to be based on C
6#  header files. The file is based on the VARIANT defined.
7#
8#  $Id$
9#
10
11include $(RTEMS_ROOT)/make/custom/default.cfg
12
13RTEMS_CPU=m68k
14RTEMS_CPU_MODEL=m68302
15
16# This is the actual bsp directory used during the build process.
17RTEMS_BSP_FAMILY=ods68302
18
19#
20#  This contains the compiler options necessary to select the CPU model
21#  and (hopefully) optimize for it.
22#
23# 68000+softfloat results in gcc 2.95.2 giving default libraries.
24# CPU_CFLAGS = -m68302 -msoft-float
25CPU_CFLAGS = -m68302
26
27# optimize flag: typically -O2
28CFLAGS_OPTIMIZE_V = -O4 -fomit-frame-pointer
29
30# The following are definitions of make-exe which will work using ld as
31# is currently required.
32
33define make-exe
34        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
35            -o $@ \
36            $(LINK_OBJS) $(LINK_LIBS)
37        $(NM) -g -n $@ > $(basename $@).num
38        $(SIZE) $@
39endef
40
41# Miscellaneous additions go here
42
43ifeq ($(RTEMS_DEBUGGER),yes)
44LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom
45else
46LINKCMDS=$(PROJECT_RELEASE)/lib/rom
47endif
48
Note: See TracBrowser for help on using the repository browser.