aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure21
1 files changed, 20 insertions, 1 deletions
diff --git a/sim/configure b/sim/configure
index 30b1b36..0f9cf45 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1273,6 +1273,7 @@ fi
# Assume simulator can be built with cc.
# If the user passes --enable-sim built it regardless of $(CC).
only_if_gcc=no
+extra_subdirs=common
# WHEN ADDING ENTRIES TO THIS MATRIX:
# Make sure that the left side always has two dashes. Otherwise you
@@ -1282,6 +1283,13 @@ only_if_gcc=no
case "${target}" in
arm*-*-*) sim_target=arm ;;
d10v-*-*) sim_target=d10v ;;
+# start-sanitize-d30v
+ d30v-*-*)
+ sim_target=d30v
+ only_if_gcc=yes
+ extra_subdirs="${extra_subdirs} igen testsuite"
+ ;;
+# end-sanitize-d30v
h8300*-*-*) sim_target=h8300 ;;
h8500-*-*) sim_target=h8500 ;;
mips*-*-*)
@@ -1294,6 +1302,9 @@ case "${target}" in
sim_target=mn10300
only_if_gcc=yes
;;
+ mn10200*-*-*)
+ sim_target=mn10200
+ ;;
sh*-*-*) sim_target=sh ;;
powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* | powerpc*-*-linux* )
# The PowerPC simulator uses the GCC extension long long as well as
@@ -1301,7 +1312,15 @@ case "${target}" in
# unless asked to.
sim_target=ppc
only_if_gcc=yes
+ #extra_subdirs="${extra_subdirs}"
+ ;;
+# start-sanitize-tic80
+ tic80-*-*)
+ sim_target=tic80
+ only_if_gcc=yes
+ extra_subdirs="${extra_subdirs} igen"
;;
+# end-sanitize-tic80
# start-sanitize-v850
v850-*-*)
# The V850 simulator can only be compiled by gcc.
@@ -1342,7 +1361,7 @@ yes)
esac
if test x"${sim_target}" != xnone ; then
- configdirs="common ${sim_target}"
+ configdirs="${extra_subdirs} ${sim_target}"
subdirs="$configdirs"
fi