aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-12 00:46:19 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-12 00:47:49 -0400
commit425b0b1a98456359084466b755aad51c462603df (patch)
treeec98d7d70f1a29c2b290d6cd10511f4d00381262 /sim/or1k
parente7e40cedbb0508aa788e509075b9ba50c3af07ba (diff)
downloadgdb-425b0b1a98456359084466b755aad51c462603df.zip
gdb-425b0b1a98456359084466b755aad51c462603df.tar.gz
gdb-425b0b1a98456359084466b755aad51c462603df.tar.bz2
sim: clean up explicit environment build calls
This was enabled by default for all targets, but a few ports still include an explicit call. Clean that up, and update the docs.
Diffstat (limited to 'sim/or1k')
-rw-r--r--sim/or1k/ChangeLog5
-rwxr-xr-xsim/or1k/configure22
-rw-r--r--sim/or1k/configure.ac1
3 files changed, 5 insertions, 23 deletions
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
index 55b923d..ece6160 100644
--- a/sim/or1k/ChangeLog
+++ b/sim/or1k/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-12 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
+ * configure: Regenerate.
+
2021-05-04 Tom Tromey <tromey@adacore.com>
* mloop.in: Include <stdlib.h>.
diff --git a/sim/or1k/configure b/sim/or1k/configure
index 6ebe791..ef0a6c7 100755
--- a/sim/or1k/configure
+++ b/sim/or1k/configure
@@ -12147,28 +12147,6 @@ $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking default sim environment setting" >&5
-$as_echo_n "checking default sim environment setting... " >&6; }
-sim_environment="ALL_ENVIRONMENT"
-# Check whether --enable-sim-environment was given.
-if test "${enable_sim_environment+set}" = set; then :
- enableval=$enable_sim_environment; case "${enableval}" in
- all | ALL) sim_environment="ALL_ENVIRONMENT";;
- user | USER) sim_environment="USER_ENVIRONMENT";;
- virtual | VIRTUAL) sim_environment="VIRTUAL_ENVIRONMENT";;
- operating | OPERATING) sim_environment="OPERATING_ENVIRONMENT";;
- *) as_fn_error $? "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
-esac
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define WITH_ENVIRONMENT $sim_environment
-_ACEOF
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_environment" >&5
-$as_echo "$sim_environment" >&6; }
-
-
cgen_maint=no
cgen=guile
cgendir='$(srcdir)/../../cgen'
diff --git a/sim/or1k/configure.ac b/sim/or1k/configure.ac
index ed0739f..32fb0d4 100644
--- a/sim/or1k/configure.ac
+++ b/sim/or1k/configure.ac
@@ -10,7 +10,6 @@ SIM_AC_OPTION_BITSIZE([32], [31], [32])
SIM_AC_OPTION_SCACHE(16384)
SIM_AC_OPTION_DEFAULT_MODEL([or1200])
SIM_AC_OPTION_WARNINGS(no)
-SIM_AC_OPTION_ENVIRONMENT
SIM_AC_OPTION_CGEN_MAINT
SIM_AC_OUTPUT