aboutsummaryrefslogtreecommitdiff
path: root/sim/riscv
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/riscv
parente7e40cedbb0508aa788e509075b9ba50c3af07ba (diff)
downloadbinutils-425b0b1a98456359084466b755aad51c462603df.zip
binutils-425b0b1a98456359084466b755aad51c462603df.tar.gz
binutils-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/riscv')
-rw-r--r--sim/riscv/ChangeLog5
-rwxr-xr-xsim/riscv/configure22
-rw-r--r--sim/riscv/configure.ac1
3 files changed, 5 insertions, 23 deletions
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index c121d48..557b722 100644
--- a/sim/riscv/ChangeLog
+++ b/sim/riscv/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 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/riscv/configure b/sim/riscv/configure
index 6e9c9ab..c41f800 100755
--- a/sim/riscv/configure
+++ b/sim/riscv/configure
@@ -11948,28 +11948,6 @@ fi
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; }
-
-
# Check whether --enable-werror was given.
if test "${enable_werror+set}" = set; then :
enableval=$enable_werror; case "${enableval}" in
diff --git a/sim/riscv/configure.ac b/sim/riscv/configure.ac
index 84b236a..e5a07bb 100644
--- a/sim/riscv/configure.ac
+++ b/sim/riscv/configure.ac
@@ -6,7 +6,6 @@ SIM_AC_COMMON
SIM_AC_OPTION_ENDIAN(LITTLE)
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_ENVIRONMENT
SIM_AC_OPTION_WARNINGS
# Select the default model for the target.