[01/83] sim: mips: add multi source to built sources

Message ID 20230103075605.13606-2-vapier@gentoo.org
State Committed
Series sim: merge subdir makefiles into top-level |

Commit Message

Mike Frysinger Jan. 3, 2023, 7:54 a.m. UTC
  The multirun generation mode is a bit of a mess as generated run files
depend on generate igen files, all with unknown names ahead of time.
In the multirun mode, be lazy and declare all of these generated source
files as built sources so they'll be created early on.
 sim/Makefile.in   | 3 ++-
 sim/mips/local.mk | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)


diff --git a/sim/mips/local.mk b/sim/mips/local.mk
index fa70edde35b6..9db960ca4beb 100644
--- a/sim/mips/local.mk
+++ b/sim/mips/local.mk
 ## List all generated headers to help Automake dependency tracking.
 BUILT_SOURCES += %D%/itable.h
+## The multi files are a bit of a mess with generated multirun files depending
+## on generated igen files.  Be lazy for now and declare them all built so they
+## are generated early on.
 	%D%/itable.h \