source: rtems/make/custom/ods68302.cfg @ 6087a692

4.104.114.95
Last change on this file since 6087a692 was 6087a692, checked in by Joel Sherrill <joel.sherrill@…>, on 03/06/08 at 21:51:01

Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file.

  • Property mode set to 100644
File size: 862 bytes
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 = -O2 -g -fomit-frame-pointer
29
30ifeq ($(RTEMS_DEBUGGER),yes)
31LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom
32else
33LINKCMDS=$(PROJECT_RELEASE)/lib/rom
34endif
35
Note: See TracBrowser for help on using the repository browser.