aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-31 00:39:35 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-31 00:39:35 +0000
commit73e76d20031e4c59fa47e9c0dca449f8351a3657 (patch)
treebf28326eb37d7fdc262c1bc88b6eeb5eed7b002b /sim/frv/configure
parent37cf6fc12167035748c548a6258d2e5de85e7980 (diff)
downloadfsf-binutils-gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.zip
fsf-binutils-gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.tar.gz
fsf-binutils-gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.tar.bz2
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.
Diffstat (limited to 'sim/frv/configure')
-rwxr-xr-xsim/frv/configure11
1 files changed, 4 insertions, 7 deletions
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"