source:
rtems/make/custom/jmr3904.cfg
@
b86e0899
Last change on this file since b86e0899 was b86e0899, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 07:05:26 | |
---|---|
|
|
File size: 836 bytes |
Rev | Line | |
---|---|---|
[732d4db] | 1 | # |
[e066afe8] | 2 | # Config file for the jmr3904 board which has a simulator in gdb |
[732d4db] | 3 | # |
4 | # $Id$ | |
5 | # | |
6 | ||
7 | include $(RTEMS_ROOT)/make/custom/default.cfg | |
8 | ||
9 | RTEMS_CPU=mips | |
10 | RTEMS_CPU_MODEL=tx3904 | |
11 | ||
12 | # This is the actual bsp directory used during the build process. | |
13 | RTEMS_BSP_FAMILY=jmr3904 | |
14 | ||
15 | # This contains the compiler options necessary to select the CPU model | |
16 | # and (hopefully) optimize for it. | |
17 | # | |
[2f03c043] | 18 | # gcc 2.95.x and 3.0 |
[b86e0899] | 19 | #CPU_CFLAGS = -m3900 -G0 |
[2f03c043] | 20 | # gcc 3.1 and newer |
[b86e0899] | 21 | CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0 |
[732d4db] | 22 | |
[0c642539] | 23 | # optimize flag: typically -O2 |
[4233e1f] | 24 | CFLAGS_OPTIMIZE_V = -O2 |
[732d4db] | 25 | |
26 | # The following are definitions of make-exe which will work using ld as | |
[d2d3482] | 27 | # is currently required. |
[732d4db] | 28 | |
29 | define make-exe | |
[e68206a1] | 30 | $(LINK.c) $(AM_CFLAGS) -G0 $(AM_LDFLAGS) \ |
[732d4db] | 31 | $(LDLIBS) -o $@ \ |
32 | $(LINK_OBJS) $(LINK_LIBS) | |
33 | $(NM) -g -n $@ > $(basename $@).num | |
34 | $(SIZE) $@ | |
35 | endef | |
36 | ||
37 | # Miscellaneous additions go here | |
38 |
Note: See TracBrowser
for help on using the repository browser.