source: rtems-testing/sim-scripts/Makefile @ 1ba5b39

4.11
Last change on this file since 1ba5b39 was 1ba5b39, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 13, 2009 at 3:00:05 PM

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

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