source: rtems/make/custom/mvme3100.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: 1.0 KB
Line 
1#
2#  Config file for the PowerPC 8540 based mvme3100
3#
4#
5
6include $(RTEMS_ROOT)/make/custom/default.cfg
7
8RTEMS_CPU=powerpc
9RTEMS_CPU_MODEL=e500
10RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=mvme3100
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18# NOTE: NO application code should use the -D symbols
19CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic
20
21# optimize flag: typically -0, could use -O4 or -fast
22# -O4 is ok for RTEMS
23# NOTE: some level of -O may be actually required by inline assembler
24#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
25CFLAGS_OPTIMIZE_V = -O4
26
27# debug flags: typically none, but at least -O1 is required due to this
28# BSP using inlined code
29CFLAGS_DEBUG_V = -O1 -g
30
31define bsp-post-link
32        $(default-bsp-post-link)
33        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
34endif
35
36# Miscellaneous additions go here
37START_BASE = motld_start
Note: See TracBrowser for help on using the repository browser.