aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 01:52:01 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-15 23:27:14 -0400
commitbcaa61f7c89c2b44e231ee6999cc33b04e7dd202 (patch)
treecaaff31f701e7e9a14319251e1249af0ef49998d /sim/bfin
parentbc10b672715c935163aaca4d05cbbefeefc31b92 (diff)
downloadfsf-binutils-gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.zip
fsf-binutils-gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.gz
fsf-binutils-gdb-bcaa61f7c89c2b44e231ee6999cc33b04e7dd202.tar.bz2
sim: move dv-sockser define to CPPFLAGS
This is the only define left in m4/ that is not in the common config.h, so move it to sim_hw_cflags so we can drop the arch-specific config.h.
Diffstat (limited to 'sim/bfin')
-rw-r--r--sim/bfin/ChangeLog4
-rw-r--r--sim/bfin/config.in3
-rwxr-xr-xsim/bfin/configure6
3 files changed, 5 insertions, 8 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 541eab6..205fe35 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-15 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2021-06-14 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
diff --git a/sim/bfin/config.in b/sim/bfin/config.in
index c3a5c27..da7824e 100644
--- a/sim/bfin/config.in
+++ b/sim/bfin/config.in
@@ -10,9 +10,6 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
-/* Define if dv-sockser is usable. */
-#undef HAVE_DV_SOCKSER
-
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
diff --git a/sim/bfin/configure b/sim/bfin/configure
index 1c98933..c721f50 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -11302,11 +11302,7 @@ else
# 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
-_ACEOF
-
+ sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
;;
esac
if test x"$silent" != x"yes"; then