source: rtems-testing/sim-scripts/Makefile @ 66dcbe8

4.11
Last change on this file since 66dcbe8 was 66dcbe8, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 20, 2009 at 5:31:31 PM

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

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