sim: dv-sockser: add stub funcs when not available

This lets ports assume that the dv-sockser API is always available if
they want to.  This way we don't have to do an abort at configure time
and it makes the resulting code a bit simpler.
This commit is contained in:
Mike Frysinger
2015-03-22 22:23:04 -04:00
parent 80fc77e6c1
commit 3649cb0656
11 changed files with 61 additions and 36 deletions

9
sim/mips/configure vendored
View File

@@ -14126,15 +14126,6 @@ fi
mips_extra_objs="$SIM_DV_SOCKSER_O"
if test "$sim_hw_p" = yes -a -z "$SIM_DV_SOCKSER_O"; then
case " $sim_hw " in
*" tx3904sio "*)
as_fn_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." "$LINENO" 5
esac
fi
# Choose simulator engine
case "${target}" in