diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-03 01:58:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-04 22:51:07 -0500 |
commit | ddfc4317d5b99c284bf112819f00f149f7e94600 (patch) | |
tree | 8e442c26e0449ca062a26f5d15695e7255a70e02 /sim/mips | |
parent | 9f046489d0e3c4f5128a128ba3ecda3e45bc2544 (diff) | |
download | gdb-ddfc4317d5b99c284bf112819f00f149f7e94600.zip gdb-ddfc4317d5b99c284bf112819f00f149f7e94600.tar.gz gdb-ddfc4317d5b99c284bf112819f00f149f7e94600.tar.bz2 |
sim: mips: add multi source to built sources
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.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/local.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/mips/local.mk b/sim/mips/local.mk index fa70edd..9db960c 100644 --- a/sim/mips/local.mk +++ b/sim/mips/local.mk @@ -29,6 +29,10 @@ AM_MAKEFLAGS += %C%_SIM_EXTRA_HW_DEVICES="$(%C%_SIM_EXTRA_HW_DEVICES)" ## 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. +BUILT_SOURCES += $(SIM_MIPS_MULTI_SRC) %C%_BUILT_SRC_FROM_IGEN_ITABLE = \ %D%/itable.h \ %D%/itable.c |