4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for the jmr3904 board which has a simulator in gdb |
---|
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 | # |
---|
18 | # gcc 2.95.x and 3.0 |
---|
19 | #CPU_CFLAGS = -m3900 -G0 |
---|
20 | # gcc 3.1 and newer |
---|
21 | CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0 |
---|
22 | |
---|
23 | # optimize flag: typically -O2 |
---|
24 | CFLAGS_OPTIMIZE_V = -O2 |
---|
25 | |
---|
26 | # The following are definitions of make-exe which will work using ld as |
---|
27 | # is currently required. |
---|
28 | |
---|
29 | define make-exe |
---|
30 | $(LINK.c) $(AM_CFLAGS) -G0 $(AM_LDFLAGS) \ |
---|
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.