summaryrefslogtreecommitdiffstats
path: root/sim-scripts/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-19 23:19:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-19 23:19:14 +0000
commit6cc464589c6a6555fa297a3cd176da8e67b6df0a (patch)
treeb2ddfeb8a67f7350c76ea5d52867c708d7d77a32 /sim-scripts/Makefile
parent2009-01-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-testing-6cc464589c6a6555fa297a3cd176da8e67b6df0a.tar.bz2
2009-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, Makefile, gdb-sim-run.in: Add m32csim, m32rsim, and simsh. * m32csim.in, m32rsim.in, simsh.in: New files.
Diffstat (limited to 'sim-scripts/Makefile')
-rw-r--r--sim-scripts/Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile
index 3417fc6..2e3c6c2 100644
--- a/sim-scripts/Makefile
+++ b/sim-scripts/Makefile
@@ -3,7 +3,8 @@
#
INSTALL_DIR=../bin
-GENERATED_SCRIPTS=h8sim-4.10 jmr3904-4.10 sis-4.10
+GENERATED_SCRIPTS=h8sim-4.10 jmr3904-4.10 m32csim-4.10 m32rsim-4.10 \
+ sis-4.10 simsh-4.10
COMPILED_PROGRAMS=usleep
all: prep ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS} install
@@ -28,6 +29,20 @@ jmr3904-4.10: gdb-sim-run.in jmr3904.in
-e '/^##INSERT BSP SUPPORT HERE/r jmr3904.in' <$< >$@
chmod +x $@
+m32csim-4.10: gdb-sim-run.in m32csim.in
+ sed -e 's/@CPU@/M32C/' \
+ -e 's/@CPU_TARGET@/m32c/' \
+ -e 's/@BSP@/m32csim/' \
+ -e '/^##INSERT BSP SUPPORT HERE/r m32csim.in' <$< >$@
+ chmod +x $@
+
+m32rsim-4.10: gdb-sim-run.in m32rsim.in
+ sed -e 's/@CPU@/M32R/' \
+ -e 's/@CPU_TARGET@/m32r/' \
+ -e 's/@BSP@/m32rsim/' \
+ -e '/^##INSERT BSP SUPPORT HERE/r m32rsim.in' <$< >$@
+ chmod +x $@
+
sis-4.10: gdb-sim-run.in sis.in
sed -e 's/@CPU@/SPARC/' \
-e 's/@CPU_TARGET@/sparc/' \
@@ -35,6 +50,13 @@ sis-4.10: gdb-sim-run.in sis.in
-e '/^##INSERT BSP SUPPORT HERE/r sis.in' <$< >$@
chmod +x $@
+simsh-4.10: gdb-sim-run.in simsh.in
+ sed -e 's/@CPU@/SuperH/' \
+ -e 's/@CPU_TARGET@/sh/' \
+ -e 's/@BSP@/simsh/' \
+ -e '/^##INSERT BSP SUPPORT HERE/r simsh.in' <$< >$@
+ chmod +x $@
+
clean:
rm -f ${GENERATED_SCRIPTS} ${COMPILED_PROGRAMS}