source: rtems/make/custom/rbtx4925.cfg @ 62bfb143

4.104.115
Last change on this file since 62bfb143 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: 708 bytes
Line 
1#
2#  Config file for the Toshiba RBTX4925 evaluation board with TX4925 cpu
3#
4#  rbtx4925.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=tx4925
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=rbtx4925
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.