There's no need to restrict these to only specific targets as the user
can select them at runtime if they want them. Always build them so we
can improve build coverage too.
+2021-05-04 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac (hw_extra_devices): Inline contents into
+ SIM_AC_OPTION_HARDWARE and delete.
+ * configure: Regenerate.
+
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_IGEN_OBJ): Change @mips_igen_engine@ to engine.o.
#
# Add simulated hardware devices
#
-hw_extra_devices=""
-case "${target}" in
- mips*tx39*)
- hw_extra_devices="tx3904cpu tx3904irc tx3904tmr tx3904sio"
- ;;
- *)
- ;;
-esac
-hardware="cfi core pal glue $hw_extra_devices"
+hardware="cfi core pal glue tx3904cpu tx3904irc tx3904tmr tx3904sio"
sim_hw_cflags="-DWITH_HW=1"
sim_hw="$hardware"
sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`"
#
# Add simulated hardware devices
#
-hw_extra_devices=""
-case "${target}" in
- mips*tx39*)
- hw_extra_devices="tx3904cpu tx3904irc tx3904tmr tx3904sio"
- ;;
- *)
- ;;
-esac
-SIM_AC_OPTION_HARDWARE($hw_extra_devices)
+SIM_AC_OPTION_HARDWARE(tx3904cpu tx3904irc tx3904tmr tx3904sio)
AC_PATH_X