public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 2/7] sim: unify assert build settings
Date: Mon,  7 Jun 2021 01:33:50 -0400	[thread overview]
Message-ID: <20210607053355.9965-2-vapier@gentoo.org> (raw)
In-Reply-To: <20210607053355.9965-1-vapier@gentoo.org>

Move the --sim-enable-assert option up to the common dir so we only
test & export it once across all ports.
---
 sim/Makefile.in                |  1 +
 sim/aarch64/aclocal.m4         |  1 -
 sim/aarch64/config.in          |  3 ---
 sim/aarch64/configure          | 26 ++------------------------
 sim/aclocal.m4                 |  1 +
 sim/arm/aclocal.m4             |  1 -
 sim/arm/config.in              |  3 ---
 sim/arm/configure              | 26 ++------------------------
 sim/avr/aclocal.m4             |  1 -
 sim/avr/config.in              |  3 ---
 sim/avr/configure              | 26 ++------------------------
 sim/bfin/aclocal.m4            |  1 -
 sim/bfin/config.in             |  3 ---
 sim/bfin/configure             | 26 ++------------------------
 sim/bpf/aclocal.m4             |  1 -
 sim/bpf/config.in              |  3 ---
 sim/bpf/configure              | 26 ++------------------------
 sim/config.h.in                |  3 +++
 sim/configure                  | 23 +++++++++++++++++++++++
 sim/configure.ac               |  2 ++
 sim/cr16/aclocal.m4            |  1 -
 sim/cr16/config.in             |  3 ---
 sim/cr16/configure             | 26 ++------------------------
 sim/cris/aclocal.m4            |  1 -
 sim/cris/config.in             |  3 ---
 sim/cris/configure             | 26 ++------------------------
 sim/d10v/aclocal.m4            |  1 -
 sim/d10v/config.in             |  3 ---
 sim/d10v/configure             | 26 ++------------------------
 sim/erc32/aclocal.m4           |  1 -
 sim/erc32/config.in            |  3 ---
 sim/erc32/configure            | 26 ++------------------------
 sim/example-synacor/aclocal.m4 |  1 -
 sim/example-synacor/config.in  |  3 ---
 sim/example-synacor/configure  | 26 ++------------------------
 sim/frv/aclocal.m4             |  1 -
 sim/frv/config.in              |  3 ---
 sim/frv/configure              | 26 ++------------------------
 sim/ft32/aclocal.m4            |  1 -
 sim/ft32/config.in             |  3 ---
 sim/ft32/configure             | 26 ++------------------------
 sim/h8300/aclocal.m4           |  1 -
 sim/h8300/config.in            |  3 ---
 sim/h8300/configure            | 26 ++------------------------
 sim/iq2000/aclocal.m4          |  1 -
 sim/iq2000/config.in           |  3 ---
 sim/iq2000/configure           | 26 ++------------------------
 sim/lm32/aclocal.m4            |  1 -
 sim/lm32/config.in             |  3 ---
 sim/lm32/configure             | 26 ++------------------------
 sim/m32c/aclocal.m4            |  1 -
 sim/m32c/config.in             |  3 ---
 sim/m32c/configure             | 26 ++------------------------
 sim/m32r/aclocal.m4            |  1 -
 sim/m32r/config.in             |  3 ---
 sim/m32r/configure             | 26 ++------------------------
 sim/m4/sim_ac_common.m4        |  1 -
 sim/m68hc11/aclocal.m4         |  1 -
 sim/m68hc11/config.in          |  3 ---
 sim/m68hc11/configure          | 26 ++------------------------
 sim/mcore/aclocal.m4           |  1 -
 sim/mcore/config.in            |  3 ---
 sim/mcore/configure            | 26 ++------------------------
 sim/microblaze/aclocal.m4      |  1 -
 sim/microblaze/config.in       |  3 ---
 sim/microblaze/configure       | 26 ++------------------------
 sim/mips/aclocal.m4            |  1 -
 sim/mips/config.in             |  3 ---
 sim/mips/configure             | 26 ++------------------------
 sim/mn10300/aclocal.m4         |  1 -
 sim/mn10300/config.in          |  3 ---
 sim/mn10300/configure          | 26 ++------------------------
 sim/moxie/aclocal.m4           |  1 -
 sim/moxie/config.in            |  3 ---
 sim/moxie/configure            | 26 ++------------------------
 sim/msp430/aclocal.m4          |  1 -
 sim/msp430/config.in           |  3 ---
 sim/msp430/configure           | 26 ++------------------------
 sim/or1k/aclocal.m4            |  1 -
 sim/or1k/config.in             |  3 ---
 sim/or1k/configure             | 26 ++------------------------
 sim/pru/aclocal.m4             |  1 -
 sim/pru/config.in              |  3 ---
 sim/pru/configure              | 26 ++------------------------
 sim/riscv/aclocal.m4           |  1 -
 sim/riscv/config.in            |  3 ---
 sim/riscv/configure            | 26 ++------------------------
 sim/rl78/aclocal.m4            |  1 -
 sim/rl78/config.in             |  3 ---
 sim/rl78/configure             | 26 ++------------------------
 sim/rx/aclocal.m4              |  1 -
 sim/rx/config.in               |  3 ---
 sim/rx/configure               | 26 ++------------------------
 sim/sh/aclocal.m4              |  1 -
 sim/sh/config.in               |  3 ---
 sim/sh/configure               | 26 ++------------------------
 sim/v850/aclocal.m4            |  1 -
 sim/v850/config.in             |  3 ---
 sim/v850/configure             | 26 ++------------------------
 99 files changed, 92 insertions(+), 869 deletions(-)

diff --git a/sim/configure.ac b/sim/configure.ac
index 0ff49b0b678e..700e04d6a602 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -99,5 +99,7 @@ if test "${enable_sim}" != no; then
 fi
 AM_CONDITIONAL([SIM_ENABLE_IGEN], [test "$sim_igen" = "yes"])
 
+SIM_AC_OPTION_ASSERT
+
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4
index 8ff2e2c7c5a5..1df56e4baed2 100644
--- a/sim/m4/sim_ac_common.m4
+++ b/sim/m4/sim_ac_common.m4
@@ -163,7 +163,6 @@ AC_DEFINE_UNQUOTED([WITH_PROFILE], [$sim_profile], [Sim profile settings])
 AC_MSG_RESULT($sim_profile)
 
 
-SIM_AC_OPTION_ASSERT
 SIM_AC_OPTION_ENVIRONMENT
 SIM_AC_OPTION_INLINE
 
-- 
2.31.1


  reply	other threads:[~2021-06-07  5:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  5:33 [PATCH 1/7] sim: unify platform function & header tests Mike Frysinger
2021-06-07  5:33 ` Mike Frysinger [this message]
2021-06-07  5:33 ` [PATCH 3/7] sim: unify environment build settings Mike Frysinger
2021-06-12 17:17   ` [PATCH/committed] sim: ppc: unify env settings too Mike Frysinger
2021-06-07  5:33 ` [PATCH 4/7] sim: split debug/stdio/trace/profile options into dedicated m4 files Mike Frysinger
2021-06-07  5:33 ` [PATCH 5/7] sim: unify debug/stdio/trace/profile build settings Mike Frysinger
2021-06-13  0:09   ` [PATCH 5/7 v2] " Mike Frysinger
2021-06-07  5:33 ` [PATCH 6/7] sim: unify bug & package settings Mike Frysinger
2021-06-13  0:25   ` [PATCH 6/7 v2] " Mike Frysinger
2021-06-07  5:33 ` [PATCH 7/7] sim: overhaul alignment settings management Mike Frysinger
2021-06-13  1:19   ` [PATCH 7/7 v2] " Mike Frysinger
2021-06-12 18:40 ` [PATCH/committed] sim: ppc: unify header & function & type tests too Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210607053355.9965-2-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).