aboutsummaryrefslogtreecommitdiff
path: root/sim/v850
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-19 20:06:12 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-21 22:20:18 -0400
commit456ef1c1d43c0407801fb2d59db355472be8a554 (patch)
treeae7c5f7bbef0f9f9b05f73d97c8131538b52a965 /sim/v850
parentbe0387eed099dbc2f2bdc92fbf60e04f846c3b2b (diff)
downloadgdb-456ef1c1d43c0407801fb2d59db355472be8a554.zip
gdb-456ef1c1d43c0407801fb2d59db355472be8a554.tar.gz
gdb-456ef1c1d43c0407801fb2d59db355472be8a554.tar.bz2
sim: unify hardware settings
Move these options up to the common dir so we only test & export them once across all ports.
Diffstat (limited to 'sim/v850')
-rw-r--r--sim/v850/ChangeLog5
-rw-r--r--sim/v850/aclocal.m41
-rwxr-xr-xsim/v850/configure48
3 files changed, 5 insertions, 49 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 41badac..08e101a 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,5 +1,10 @@
2021-06-21 Mike Frysinger <vapier@gentoo.org>
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2021-06-21 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2021-06-20 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/v850/aclocal.m4 b/sim/v850/aclocal.m4
index 6032284..f4393af 100644
--- a/sim/v850/aclocal.m4
+++ b/sim/v850/aclocal.m4
@@ -13,6 +13,5 @@
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_include([../m4/sim_ac_option_bitsize.m4])
-m4_include([../m4/sim_ac_option_hardware.m4])
m4_include([../m4/sim_ac_option_reserved_bits.m4])
m4_include([../m4/sim_ac_output.m4])
diff --git a/sim/v850/configure b/sim/v850/configure
index 126b69a..f379168 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -588,10 +588,6 @@ sim_default_model
sim_scache
sim_float
cgen_breaks
-sim_hw_sockser
-sim_hw_cflags
-SIM_ENABLE_HW_FALSE
-SIM_ENABLE_HW_TRUE
target_alias
host_alias
build_alias
@@ -637,7 +633,6 @@ ac_user_opts='
enable_option_checking
enable_sim_reserved_bits
enable_sim_bitsize
-enable_sim_hardware
'
ac_precious_vars='build_alias
host_alias
@@ -1253,7 +1248,6 @@ Optional Features:
Specify whether to check reserved bits in
instruction
--enable-sim-bitsize=N Specify target bitsize (32 or 64)
- --enable-sim-hardware Whether to enable hardware/device simulation
Report bugs to the package provider.
_ACEOF
@@ -1761,48 +1755,6 @@ fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim hardware settings" >&5
-$as_echo_n "checking for sim hardware settings... " >&6; }
-# Check whether --enable-sim-hardware was given.
-if test "${enable_sim_hardware+set}" = set; then :
- enableval=$enable_sim_hardware;
-else
- enable_sim_hardware="yes"
-fi
-
-sim_hw_sockser=
-if test "$enable_sim_hardware" = no; then
- sim_hw_cflags="-DWITH_HW=0"
-elif test "$enable_sim_hardware" = yes; then
- sim_hw_cflags="-DWITH_HW=1"
- # mingw does not support sockser
- case ${host} in
- *mingw*) ;;
- *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device
- # that you instatiate. Instead, other code will call into it directly.
- # At some point, we should convert it over.
- sim_hw_sockser="dv-sockser.o"
- sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
- ;;
- esac
-else
- as_fn_error $? "unknown argument \"$enable_sim_hardware\"" "$LINENO" 5
-fi
-if test "$enable_sim_hardware" = "yes"; then
- SIM_ENABLE_HW_TRUE=
- SIM_ENABLE_HW_FALSE='#'
-else
- SIM_ENABLE_HW_TRUE='#'
- SIM_ENABLE_HW_FALSE=
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5
-$as_echo "${enable_sim_hardware}" >&6; }
-
-
-
-
cgen_breaks=""
if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
cgen_breaks="break cgen_rtx_error";