diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-22 22:36:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-23 04:40:07 -0400 |
commit | 49cd1634b2a59879329c5a285192ac581e64904c (patch) | |
tree | 4921bf4264168301549340c6cf966cfa5301a99a /sim/bfin/configure | |
parent | 3649cb065699316bc8cd64b06f273c72f1806323 (diff) | |
download | gdb-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/bfin/configure')
-rwxr-xr-x | sim/bfin/configure | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sim/bfin/configure b/sim/bfin/configure index e77e98a..ecd911a 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -606,8 +606,6 @@ SDL_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG -BFIN_SIM_EXTRA_OBJS -SIM_DV_SOCKSER_O REPORT_BUGS_TEXI REPORT_BUGS_TO PKGVERSION @@ -12396,7 +12394,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12399 "configure" +#line 12397 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12502,7 +12500,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12505 "configure" +#line 12503 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13595,10 +13593,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 @@ -13606,7 +13606,6 @@ _ACEOF ;; esac - if test x"$silent" != x"yes"; then echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs" fi @@ -13695,10 +13694,6 @@ fi done -BFIN_SIM_EXTRA_OBJS="${BFIN_SIM_EXTRA_OBJS} ${SIM_DV_SOCKSER_O}" -BFIN_SIM_EXTRA_OBJS=${BFIN_SIM_EXTRA_OBJS} - - |