source: rtems-testing/sim-scripts/Makefile @ 3a7a4df

4.11
Last change on this file since 3a7a4df was ae48b5a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 15, 2009 at 10:05:50 PM

2009-09-15 Joel Sherrill <joel.sherrill@…>

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