From 73e76d20031e4c59fa47e9c0dca449f8351a3657 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Mar 2013 00:39:35 +0000 Subject: sim: frv/m32r: back out hard failure when dv-sockser is not available These sims have optional support for the dv-sockser model, so do not make them hard failures. The Makefile made it seem like they didn't actually support things dynamically, but a further code dive into the source and the Makefile shows that things work out. --- sim/frv/configure | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sim/frv/configure') diff --git a/sim/frv/configure b/sim/frv/configure index aa41286..c42dfd7 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -601,6 +601,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS cgen_breaks +frv_extra_objs SIM_DV_SOCKSER_O sim_trapdump cgen @@ -12278,7 +12279,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12281 "configure" +#line 12282 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12384,7 +12385,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12387 "configure" +#line 12388 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13428,12 +13429,8 @@ fi esac fi +frv_extra_objs="$SIM_DV_SOCKSER_O" -if test -z "$SIM_DV_SOCKSER_O"; then - as_fn_error "Sorry, but hardware support in this simulator -unconditionally relies on dv-sockser.o which is unavailable for your host. -Please fix this simulator." "$LINENO" 5 -fi ac_sources="$sim_link_files" -- cgit v1.1