From bcaa61f7c89c2b44e231ee6999cc33b04e7dd202 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 13 Jun 2021 01:52:01 -0400 Subject: 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. --- sim/lm32/ChangeLog | 4 ++++ sim/lm32/config.in | 3 --- sim/lm32/configure | 6 +----- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'sim/lm32') diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index d47e165..f77245d 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-06-15 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-06-12 Mike Frysinger * dv-lm32uart.c: Include sys/select.h. diff --git a/sim/lm32/config.in b/sim/lm32/config.in index c3a5c27..da7824e 100644 --- a/sim/lm32/config.in +++ b/sim/lm32/config.in @@ -10,9 +10,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H -/* Define if dv-sockser is usable. */ -#undef HAVE_DV_SOCKSER - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff --git a/sim/lm32/configure b/sim/lm32/configure index 679488d..f104d71 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -11410,11 +11410,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 -- cgit v1.1