aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 22:36:12 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-23 04:40:07 -0400
commit49cd1634b2a59879329c5a285192ac581e64904c (patch)
tree4921bf4264168301549340c6cf966cfa5301a99a /sim/lm32
parent3649cb065699316bc8cd64b06f273c72f1806323 (diff)
downloadgdb-49cd1634b2a59879329c5a285192ac581e64904c.zip
gdb-49cd1634b2a59879329c5a285192ac581e64904c.tar.gz
gdb-49cd1634b2a59879329c5a285192ac581e64904c.tar.bz2
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.
Diffstat (limited to 'sim/lm32')
-rw-r--r--sim/lm32/ChangeLog5
-rw-r--r--sim/lm32/Makefile.in1
-rwxr-xr-xsim/lm32/configure12
3 files changed, 11 insertions, 7 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index a02609e..3ea4b85 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+ * Makefile.in (SIM_OBJS): Delete @SIM_DV_SOCKSER_O@.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in
index 61e4137..60420a1 100644
--- a/sim/lm32/Makefile.in
+++ b/sim/lm32/Makefile.in
@@ -12,7 +12,6 @@ SIM_OBJS = \
sim-model.o \
sim-reg.o \
sim-signal.o \
- @SIM_DV_SOCKSER_O@ \
cgen-utils.o cgen-trace.o cgen-scache.o \
cgen-run.o sim-reason.o sim-engine.o sim-stop.o \
sim-if.o arch.o \
diff --git a/sim/lm32/configure b/sim/lm32/configure
index 22ed7d5..fd4185f 100755
--- a/sim/lm32/configure
+++ b/sim/lm32/configure
@@ -601,7 +601,6 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
cgen_breaks
-SIM_DV_SOCKSER_O
cgen
cgendir
CGEN_MAINT
@@ -12375,7 +12374,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12378 "configure"
+#line 12377 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12481,7 +12480,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12484 "configure"
+#line 12483 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13442,10 +13441,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
@@ -13453,7 +13454,6 @@ _ACEOF
;;
esac
-
if test x"$silent" != x"yes"; then
echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
fi