source: rtems/make/custom/hurricane.cfg @ 3c5a40f

4.104.115
Last change on this file since 3c5a40f 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: 726 bytes
Line 
1#
2#  Config file for the Quick Logic Hurricane evaluation board with PMC-Sierra RM5231 cpu
3#
4#  hurricane.cfg,v 1.21 2002/06/14 17:31:20 joel Exp
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU_MODEL=rm5231
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=hurricane
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16CPU_CFLAGS = -mips3 -G0 -EL
17
18# optimize flag: typically -O2
19CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
20
21define bsp-post-link
22        $(OBJCOPY) -O srec $@ $(basename $@).srec1
23        $(PACKHEX) < $(basename $@).srec1 > $(basename $@)$(DOWNEXT)
24        $(RM) $(basename $@).srec1
25        $(default-bsp-post-link)
26endef
Note: See TracBrowser for help on using the repository browser.