source: rtems/make/custom/jmr3904.cfg @ 25bcb1dd

4.104.114.84.95
Last change on this file since 25bcb1dd was 98d15b2, checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/02 at 17:31:20

2002-06-14 Joel Sherrill <joel@…>

  • custom/jmr3904.cfg, custom/p4650.cfg, custom/p4600.cfg: Switch to gcc 3.1 arguments.
  • Property mode set to 100644
File size: 989 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 -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) $(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.