source: rtems-testing/sim-scripts/Makefile @ d17c1ab

4.11
Last change on this file since d17c1ab was d17c1ab, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 4, 2010 at 7:32:36 PM

2010-06-04 Joel Sherrill <joel.sherrill@…>

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