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

4.11
Last change on this file since ae52ee2 was ae52ee2, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 22, 2009 at 4:26:49 PM

2009-01-22 Joel Sherrill <joel.sherrill@…>

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