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] sim: mips: add igen recursive dep
Date: Sat, 24 Dec 2022 21:40:39 -0500	[thread overview]
Message-ID: <20221225024039.7375-1-vapier@gentoo.org> (raw)

Make sure the igen tool exists before trying to compile the mips
subdir.  This happens to work when mips has a subconfigure, but
hits a race condition when that is removed.
---
 sim/Makefile.in   | 49 ++++++++++++++++++++++++-----------------------
 sim/mips/local.mk |  3 +++
 2 files changed, 28 insertions(+), 24 deletions(-)

diff --git a/sim/mips/local.mk b/sim/mips/local.mk
index 159fd2947d47..a708f64f84ba 100644
--- a/sim/mips/local.mk
+++ b/sim/mips/local.mk
@@ -24,5 +24,8 @@
 
 noinst_PROGRAMS += %D%/run
 
+## TODO: Delete this once mips igen rules move here from Makefile.in.
+SIM_ALL_RECURSIVE_DEPS += $(IGEN)
+
 %C%_SIM_EXTRA_HW_DEVICES = tx3904cpu tx3904irc tx3904tmr tx3904sio
 AM_MAKEFLAGS += %C%_SIM_EXTRA_HW_DEVICES="$(%C%_SIM_EXTRA_HW_DEVICES)"
-- 
2.39.0


                 reply	other threads:[~2022-12-25  2:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20221225024039.7375-1-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).