diff options
Diffstat (limited to 'sim/mips/configure.ac')
-rw-r--r-- | sim/mips/configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac index 862e2b5..4949ad9 100644 --- a/sim/mips/configure.ac +++ b/sim/mips/configure.ac @@ -419,9 +419,18 @@ case "${target}" in ;; esac SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices) -mips_extra_objs="dv-sockser.o" +mips_extra_objs="$SIM_DV_SOCKSER_O" AC_SUBST(mips_extra_objs) +if test "$sim_hw_p" = yes -a -z "$SIM_DV_SOCKSER_O"; then + case " $sim_hw " in + *" tx3904sio "*) + AC_MSG_ERROR([Sorry, but tx3904sio hardware support is +unavailable for your target. Please use --disable-sim-hardware, or pass a +list of devices to enable that does not include that.]) + esac +fi + # Choose simulator engine case "${target}" in |