source: rtems-testing/sim-scripts/Makefile @ 33a3fc7

4.11
Last change on this file since 33a3fc7 was 33a3fc7, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 9:24:46 PM

2009-08-13 Joel Sherrill <joel.sherrill@…>

  • Makefile, gdb-sim-run.in, gdb-sim.in, mkrun, skyeye-support, tsim-support: GDB now works with tsim and skyeye simulator BSPs.
  • Property mode set to 100644
File size: 2.9 KB
Line 
1#
2#  $Id$
3#
4
5INSTALL_DIR=../bin
6GDBSIM_SCRIPTS=h8sim jmr3904 m32csim m32rsim psim sis simsh
7SKYEYE_SCRIPTS=ant5206 bf537Stamp csb337 csb350 csb360 edb7312 ezkit533 \
8  gumstix rtl22xx smdk2410 leon2-skyeye
9
10TSIM_SCRIPTS=erc32 leon2 leon3
11QEMU_SCRIPTS=qemu-rtems
12OTHER_SCRIPTS=avrtest
13GENERATED_SCRIPTS=\
14  ${GDBSIM_SCRIPTS} $(GDBSIM_SCRIPTS:%=%-gdb) \
15  ${SKYEYE_SCRIPTS} $(SKYEYE_SCRIPTS:%=%-gdb) \
16  ${TSIM_SCRIPTS} $(TSIM_SCRIPTS:%=%-gdb) \
17  ${QEMU_SCRIPTS} ${OTHER_SCRIPTS}
18
19COMPILED_PROGRAMS=usleep
20UNPROCESSED_SCRIPTS=nosim
21
22all: prep ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} \
23     ${UNPROCESSED_SCRIPTS} install
24
25prep:
26        test -d ${INSTALL_DIR} || mkdir ${INSTALL_DIR}
27
28usleep: usleep.c
29        $(CC) -o $@ $<
30
31### QEMU BSPs
32qemu-rtems: gdb-sim-run.in qemu-rtems.in
33        ./mkrun no i386 i386 qemu-rtems
34
35### Skyeye Simulator BSPs
36ant5206: gdb-sim-run.in gdb-sim.in ant5206.in
37        ./mkrun yes M68K-Coldfire m68k ant5206
38
39csb337: gdb-sim-run.in gdb-sim.in csb337.in
40        ./mkrun yes ARM arm csb337
41
42csb350: gdb-sim-run.in gdb-sim.in csb350.in
43        ./mkrun yes MIPS mips csb350
44
45csb360: gdb-sim-run.in gdb-sim.in csb360.in
46        ./mkrun yes M68K-Coldfire m68k csb360
47
48bf537Stamp: gdb-sim-run.in gdb-sim.in bf537Stamp.in
49        ./mkrun yes Blackfin bfin bf537Stamp
50
51edb7312: gdb-sim-run.in gdb-sim.in edb7312.in
52        ./mkrun yes ARM arm edb7312
53
54gumstix: gdb-sim-run.in gdb-sim.in gumstix.in
55        ./mkrun yes ARM arm gumstix
56
57rtl22xx: gdb-sim-run.in gdb-sim.in rtl22xx.in
58        ./mkrun yes ARM arm rtl22xx
59
60smdk2410: gdb-sim-run.in gdb-sim.in smdk2410.in
61        ./mkrun yes ARM arm smdk2410
62
63ezkit533: gdb-sim-run.in gdb-sim.in ezkit533.in
64        ./mkrun yes Blackfin bfin ezkit533
65
66leon2-skyeye: gdb-sim-run.in gdb-sim.in leon2-skyeye.in
67        ./mkrun yes SPARC sparc leon2-skyeye
68
69### TSIM Simulator BSPs
70erc32: gdb-sim-run.in gdb-sim.in erc32.in tsim-support
71        ./mkrun yes SPARC sparc erc32
72
73leon2: gdb-sim-run.in gdb-sim.in leon2.in tsim-support
74        ./mkrun yes SPARC sparc leon2
75
76leon3: gdb-sim-run.in gdb-sim.in leon3.in tsim-support
77        ./mkrun yes SPARC sparc leon3
78
79### GDB Simulator BSPs
80h8sim h8sim-gdb: gdb-sim-run.in gdb-sim.in h8sim.in
81        ./mkrun yes H8300 h8300 h8sim
82
83jmr3904 jmr3904-gdb: gdb-sim-run.in gdb-sim.in jmr3904.in
84        ./mkrun yes MIPS mipstx39 jmr3904
85
86m32csim m32csim-gdb: gdb-sim-run.in gdb-sim.in m32csim.in
87        ./mkrun yes M32C m32c m32csim
88
89m32rsim m32rsim-gdb: gdb-sim-run.in gdb-sim.in m32rsim.in
90        ./mkrun yes M32R m32r m32rsim
91
92psim psim-gdb: gdb-sim-run.in gdb-sim.in psim.in
93        ./mkrun yes PowerPC powerpc psim
94
95sis sis-gdb: gdb-sim-run.in gdb-sim.in sis.in
96        ./mkrun yes SPARC sparc sis
97
98simsh simsh-gdb: gdb-sim-run.in gdb-sim.in simsh.in
99        ./mkrun yes SuperH sh simsh
100
101## AVR Test (uses Simulavrxx)
102avrtest: gdb-sim-run.in avrtest.in
103        ./mkrun no AVR avr avrtest
104
105clean:
106        rm -f ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS}
107
108install:
109        for i in ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} \
110                 ${UNPROCESSED_SCRIPTS} ; do \
111          cp $${i} ${INSTALL_DIR}/$${i} ; \
112          chmod +x ${INSTALL_DIR}/$${i} ; \
113        done
114
Note: See TracBrowser for help on using the repository browser.