aboutsummaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-05 03:38:51 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-15 01:51:11 -0500
commitbb3eddb5bd60b56cf19a0aacfd6b56a1b32d21a7 (patch)
tree0e017b9a9dadaa889641e794133ed0e9f66a5300 /sim/configure
parent29fd199ed8eb33df997a8ce74a8c9b623d811006 (diff)
downloadgdb-bb3eddb5bd60b56cf19a0aacfd6b56a1b32d21a7.zip
gdb-bb3eddb5bd60b56cf19a0aacfd6b56a1b32d21a7.tar.gz
gdb-bb3eddb5bd60b56cf19a0aacfd6b56a1b32d21a7.tar.bz2
sim: testsuite: delete configure script
Now that we've moved all ports to dejagnu & testsuite/sim/, the only thing the testsuite/configure script has been doing is filling in the sim_arch field in the testsuite/Makefile. We can simply let the top sim/configure script do that for us now. This simplifies & speeds up the build a bit by killing an entire configure script.
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure16
1 files changed, 5 insertions, 11 deletions
diff --git a/sim/configure b/sim/configure
index 3135b67..7093cb1 100755
--- a/sim/configure
+++ b/sim/configure
@@ -695,7 +695,6 @@ erc32
ppc
ft32
v850
-testsuite
igen'
# Initialize some variables set by options.
@@ -3906,17 +3905,13 @@ subdirs="$subdirs aarch64"
esac
- if test x"${sim_arch}" != x; then
- subdirs="$subdirs testsuite"
+ if test "$sim_igen" = yes; then
+ subdirs="$subdirs igen"
- if test "$sim_igen" = yes; then
- subdirs="$subdirs igen"
-
- fi
- fi
+ fi
fi
-ac_config_files="$ac_config_files Makefile"
+ac_config_files="$ac_config_files Makefile testsuite/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -4625,6 +4620,7 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
@@ -5224,5 +5220,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
-exit 0