aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-01 09:47:03 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-01 09:47:03 +0000
commit52352d38d6218b8c7dcc2b59e88820f702c89fd1 (patch)
treead38de9df23e2d51d7defc9efa12e05a547ac86d /sim/configure
parent0ffba68fdc03f68c2cf78cb16ac87464cacf8fde (diff)
downloadfsf-binutils-gdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.zip
fsf-binutils-gdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.tar.gz
fsf-binutils-gdb-52352d38d6218b8c7dcc2b59e88820f702c89fd1.tar.bz2
Test/fix pabsh, pabsw, psrlvw.
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure
index 72b7ac6..1aea893 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1288,7 +1288,7 @@ case "${target}" in
d30v-*-*)
sim_target=d30v
only_if_gcc=yes
- extra_subdirs="${extra_subdirs} igen testsuite"
+ extra_subdirs="${extra_subdirs} igen"
;;
# end-sanitize-d30v
h8300*-*-*) sim_target=h8300 ;;
@@ -1343,7 +1343,6 @@ case "${target}" in
v850eq-*-*)
# The V850 simulator can only be compiled by gcc.
sim_target=v850
- extra_subdirs="${extra_subdirs} igen"
only_if_gcc=yes
;;
# end-sanitize-v850eq
@@ -1367,6 +1366,14 @@ case "${target}" in
*) sim_target=none ;;
esac
+
+# Is there a testsuite directory for the target?
+testdir=`echo ${target} | sed -e 's/-.*-/-/'`
+if test -r ${srcdir}/testsuite/${testdir}/configure ; then
+ extra_subdirs="${extra_subdirs} testsuite"
+fi
+
+
case "${enable_sim}" in
no) sim_target=none ;;
yes)