source: rtems/make/custom/jmr3904.cfg @ f3b7be3

4.104.114.84.95
Last change on this file since f3b7be3 was e68206a1, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/05 at 18:12:20

2005-01-20 Joel Sherrill <joel@…>

  • custom/arm_bare_bsp.cfg, custom/armulator.cfg, custom/csb336.cfg, custom/csb337.cfg, custom/edb7312.cfg, custom/jmr3904.cfg, custom/pc486.cfg, custom/pc586.cfg, custom/pc686.cfg, custom/pck6.cfg, custom/vegaplus.cfg: Correct use of arguments for gcc 4.x. Hopefully they are still OK for gcc 3.3.5.
  • Property mode set to 100644
File size: 1003 bytes
Line 
1#
2#  Config file for the jmr3904 board which has a simulator in gdb
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=mips
10RTEMS_CPU_MODEL=tx3904
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=jmr3904
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18# gcc 2.95.x and 3.0
19#CPU_CFLAGS=-m3900 -G0
20# gcc 3.1 and newer
21CPU_CFLAGS=-march=r3900 -Wa,-xgot -G0
22
23# optimize flag: typically -0, could use -O4 or -fast
24# -O4 is ok for RTEMS
25CFLAGS_OPTIMIZE_V=-O2 -g
26
27# The following are definitions of make-exe which will work using ld as
28# is currently required.  It is expected that as of gcc 2.8, the end user
29# will be able to override parts of the compilers specs and link using gcc.
30
31define make-exe
32        $(LINK.c) $(AM_CFLAGS) -G0 $(AM_LDFLAGS) \
33            $(LDLIBS) -o $@ \
34            $(LINK_OBJS) $(LINK_LIBS)
35        $(NM) -g -n $@ > $(basename $@).num
36        $(SIZE) $@
37endef
38
39# Miscellaneous additions go here
40
Note: See TracBrowser for help on using the repository browser.