public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sim: move dv-sockser define to CPPFLAGS
@ 2021-06-15  5:46 Mike Frysinger
  2021-06-15  5:46 ` [PATCH 2/2] sim: drop arch-specific config.h Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2021-06-15  5:46 UTC (permalink / raw)
  To: gdb-patches

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 arch-specific config.h.
---
 sim/aarch64/config.in            | 3 ---
 sim/aarch64/configure            | 6 +-----
 sim/arm/config.in                | 3 ---
 sim/arm/configure                | 6 +-----
 sim/avr/config.in                | 3 ---
 sim/avr/configure                | 6 +-----
 sim/bfin/config.in               | 3 ---
 sim/bfin/configure               | 6 +-----
 sim/bpf/config.in                | 3 ---
 sim/bpf/configure                | 6 +-----
 sim/cr16/config.in               | 3 ---
 sim/cr16/configure               | 6 +-----
 sim/cris/config.in               | 3 ---
 sim/cris/configure               | 6 +-----
 sim/d10v/config.in               | 3 ---
 sim/d10v/configure               | 6 +-----
 sim/erc32/config.in              | 3 ---
 sim/erc32/configure              | 6 +-----
 sim/example-synacor/config.in    | 3 ---
 sim/example-synacor/configure    | 6 +-----
 sim/frv/config.in                | 3 ---
 sim/frv/configure                | 6 +-----
 sim/ft32/config.in               | 3 ---
 sim/ft32/configure               | 6 +-----
 sim/h8300/config.in              | 3 ---
 sim/h8300/configure              | 6 +-----
 sim/iq2000/config.in             | 3 ---
 sim/iq2000/configure             | 6 +-----
 sim/lm32/config.in               | 3 ---
 sim/lm32/configure               | 6 +-----
 sim/m32c/config.in               | 3 ---
 sim/m32c/configure               | 6 +-----
 sim/m32r/config.in               | 3 ---
 sim/m32r/configure               | 6 +-----
 sim/m4/sim_ac_option_hardware.m4 | 3 +--
 sim/m68hc11/config.in            | 3 ---
 sim/m68hc11/configure            | 6 +-----
 sim/mcore/config.in              | 3 ---
 sim/mcore/configure              | 6 +-----
 sim/microblaze/config.in         | 3 ---
 sim/microblaze/configure         | 6 +-----
 sim/mips/config.in               | 3 ---
 sim/mips/configure               | 6 +-----
 sim/mn10300/config.in            | 3 ---
 sim/mn10300/configure            | 6 +-----
 sim/moxie/config.in              | 3 ---
 sim/moxie/configure              | 6 +-----
 sim/msp430/config.in             | 3 ---
 sim/msp430/configure             | 6 +-----
 sim/or1k/config.in               | 3 ---
 sim/or1k/configure               | 6 +-----
 sim/pru/config.in                | 3 ---
 sim/pru/configure                | 6 +-----
 sim/riscv/config.in              | 3 ---
 sim/riscv/configure              | 6 +-----
 sim/rl78/config.in               | 3 ---
 sim/rl78/configure               | 6 +-----
 sim/rx/config.in                 | 3 ---
 sim/rx/configure                 | 6 +-----
 sim/sh/config.in                 | 3 ---
 sim/sh/configure                 | 6 +-----
 sim/v850/config.in               | 3 ---
 sim/v850/configure               | 6 +-----
 63 files changed, 32 insertions(+), 250 deletions(-)

diff --git a/sim/m4/sim_ac_option_hardware.m4 b/sim/m4/sim_ac_option_hardware.m4
index 75e331eb0b33..22fa993f6a36 100644
--- a/sim/m4/sim_ac_option_hardware.m4
+++ b/sim/m4/sim_ac_option_hardware.m4
@@ -55,8 +55,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"
-       AC_DEFINE_UNQUOTED(
-         [HAVE_DV_SOCKSER], 1, [Define if dv-sockser is usable.])
+       sim_hw_cflags="$sim_hw_cflags -DHAVE_DV_SOCKSER"
        ;;
   esac
   if test x"$silent" != x"yes"; then
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-15  5:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15  5:46 [PATCH 1/2] sim: move dv-sockser define to CPPFLAGS Mike Frysinger
2021-06-15  5:46 ` [PATCH 2/2] sim: drop arch-specific config.h Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).