From 49cd1634b2a59879329c5a285192ac581e64904c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 22 Mar 2015 22:36:12 -0400 Subject: sim: dv-sockser: move build to common dir If dv-sockser is available, lets add it to the common SIM_HW_OBJS variable so it is always included automatically. Now ports do not have to shoe horn it in directly themselves. It does mean it will be compiled for targets that don't explicitly use it, but that's really what we want anyways. --- sim/cris/configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sim/cris/configure') diff --git a/sim/cris/configure b/sim/cris/configure index 7c9094e..a36a3eb 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -604,7 +604,6 @@ cgen_breaks cgen cgendir CGEN_MAINT -SIM_DV_SOCKSER_O REPORT_BUGS_TEXI REPORT_BUGS_TO PKGVERSION @@ -12383,7 +12382,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12386 "configure" +#line 12385 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12489,7 +12488,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12492 "configure" +#line 12491 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13462,10 +13461,12 @@ else esac done # mingw does not support sockser - SIM_DV_SOCKSER_O="" case ${host} in *mingw*) ;; - *) SIM_DV_SOCKSER_O="dv-sockser.o" + *) # TODO: We don't add dv-sockser to sim_hw as it is not a "real" device + # that you instatiate. Instead, other code will call into it directly. + # At some point, we should convert it over. + sim_hw_objs="$sim_hw_objs dv-sockser.o" cat >>confdefs.h <<_ACEOF #define HAVE_DV_SOCKSER 1 @@ -13473,7 +13474,6 @@ _ACEOF ;; esac - if test x"$silent" != x"yes"; then echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs" fi -- cgit v1.1