[RFC,2/4] Fix iq2000-elf sim, default hardware to off.

Message ID 201408200433.s7K4X8HN031811@ignucius.se.axis.com
State Committed
Headers

Commit Message

Hans-Peter Nilsson Aug. 20, 2014, 4:33 a.m. UTC
  See previous message re frv-elf (1/4); this similarly fails at the
dv_sockser_install declaration in sim/iq2000/tconfig.in.  There's no
HAVE_DV_SOCKSER conditionals here and no other dv-sockser.o artefacts
so maybe there is no further fallout, but I'm disabling sim-hardware
just be consistent with the state before 94c63d78f (2013-03-23) and
with the actions for frv-elf.  That's right, we went from not using
dv-sockser to requiring it without actually using it.  Unfriendly.
Make check-sim for iq2000-elf shows no failures after this - but
that's because it has no test-suite.  At least it builds.

sim/iq2000:
    	* configure.ac: Default simulator hardware to off again
	without emitting errors when off or dv-sockser.o unavailable.
    	* configure: Regenerate.


brgds, H-P
  

Patch

diff --git a/sim/iq2000/configure.ac b/sim/iq2000/configure.ac
index 38e0690..dd26a18 100644
--- a/sim/iq2000/configure.ac
+++ b/sim/iq2000/configure.ac
@@ -14,12 +14,6 @@  SIM_AC_OPTION_ENVIRONMENT
 SIM_AC_OPTION_INLINE()
 SIM_AC_OPTION_CGEN_MAINT
 
-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(no,"","")
 
 SIM_AC_OUTPUT