aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-06 20:11:02 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 11:01:57 -0400
commit5ea45474021e98cbb325534b328e391593119cb0 (patch)
tree548bbb6a52ad6161ceacaab342532f4c9b89ca1d /sim/mn10300
parentdba333c1e4051400983d3cb8b13c9c4a2d766e9c (diff)
downloadgdb-5ea45474021e98cbb325534b328e391593119cb0.zip
gdb-5ea45474021e98cbb325534b328e391593119cb0.tar.gz
gdb-5ea45474021e98cbb325534b328e391593119cb0.tar.bz2
sim: unify environment build settings
Move the --sim-enable-environment option up to the common dir so we only test & export it once across all ports.
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/aclocal.m41
-rw-r--r--sim/mn10300/config.in3
-rwxr-xr-xsim/mn10300/configure30
3 files changed, 2 insertions, 32 deletions
diff --git a/sim/mn10300/aclocal.m4 b/sim/mn10300/aclocal.m4
index 4afbd42..7db520c 100644
--- a/sim/mn10300/aclocal.m4
+++ b/sim/mn10300/aclocal.m4
@@ -114,7 +114,6 @@ m4_include([../m4/sim_ac_common.m4])
m4_include([../m4/sim_ac_option_alignment.m4])
m4_include([../m4/sim_ac_option_bitsize.m4])
m4_include([../m4/sim_ac_option_endian.m4])
-m4_include([../m4/sim_ac_option_environment.m4])
m4_include([../m4/sim_ac_option_hardware.m4])
m4_include([../m4/sim_ac_option_inline.m4])
m4_include([../m4/sim_ac_option_reserved_bits.m4])
diff --git a/sim/mn10300/config.in b/sim/mn10300/config.in
index 0b237bf..b21bf7c 100644
--- a/sim/mn10300/config.in
+++ b/sim/mn10300/config.in
@@ -117,9 +117,6 @@
/* Sim debug setting */
#undef WITH_DEBUG
-/* Sim default environment */
-#undef WITH_ENVIRONMENT
-
/* Sim profile settings */
#undef WITH_PROFILE
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 77098d2..31f8de0 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -775,7 +775,6 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
-enable_sim_environment
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1430,9 +1429,6 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
- --enable-sim-environment=environment
- Specify mixed, user, virtual or operating
- environment
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -10788,7 +10784,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10791 "configure"
+#line 10787 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10894,7 +10890,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10897 "configure"
+#line 10893 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11277,28 +11273,6 @@ $as_echo "$sim_profile" >&6; }
-{ $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; }
-
-
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :