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

4.11
Last change on this file since e6cc2b7 was e6cc2b7, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 12, 2009 at 5:32:29 PM

2009-08-12 Josh Switnicki <josh.switnicki@…>

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