aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/configure.ac
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/m32r/configure.ac
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/m32r/configure.ac')
-rw-r--r--sim/m32r/configure.ac11
1 files changed, 3 insertions, 8 deletions
diff --git a/sim/m32r/configure.ac b/sim/m32r/configure.ac
index f0422a2..76fed95 100644
--- a/sim/m32r/configure.ac
+++ b/sim/m32r/configure.ac
@@ -27,13 +27,8 @@ SIM_AC_OPTION_CGEN_MAINT
AC_SUBST(traps_obj)
AC_SUBST(sim_extra_cflags)
-SIM_AC_OPTION_HARDWARE(always,"","")
-
-if test -z "$SIM_DV_SOCKSER_O"; then
- AC_MSG_ERROR([Sorry, but hardware support in this simulator unconditionally
-relies on dv-sockser.o which is unavailable for your host. Please fix this
-simulator.])
-fi
-
+SIM_AC_OPTION_HARDWARE(yes,"","")
+m32r_extra_objs="$SIM_DV_SOCKSER_O"
+AC_SUBST(m32r_extra_objs)
SIM_AC_OUTPUT