aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-23 21:58:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-23 21:58:21 -0400
commit9d90335212595f76b0f29698dfb2468c7318c171 (patch)
treea375141b7c411b117d22b66fe6832d24814abde5 /sim/mips/configure.ac
parentb2d14d3d8f5283fbb81603184380e26f5953b25c (diff)
downloadgdb-9d90335212595f76b0f29698dfb2468c7318c171.zip
gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.gz
gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.bz2
sim: simplify hardware m4 macro
Every port using this sets the 1st arg to yes and the 2nd arg to "". These are the defaults we probably want anyways in order to unify the codebase, so move them to the macro and only allow ports to declare extra hardware models.
Diffstat (limited to 'sim/mips/configure.ac')
-rw-r--r--sim/mips/configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index ec45245..593ee2b 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -426,16 +426,15 @@ AC_SUBST(sim_multi_obj)
#
# Add simulated hardware devices
#
-hw_enabled=no
+hw_extra_devices=""
case "${target}" in
mips*tx39*)
- hw_enabled=yes
hw_extra_devices="tx3904cpu tx3904irc tx3904tmr tx3904sio"
;;
*)
;;
esac
-SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
+SIM_AC_OPTION_HARDWARE($hw_extra_devices)
# Choose simulator engine