* [PATCH] sim: mips: add igen recursive dep
@ 2022-12-25 2:40 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-12-25 2:40 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-25 2:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25 2:40 [PATCH] sim: mips: add igen recursive dep 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).