summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-09-22 08:19:44 +0100
committerSean Christopherson <seanjc@google.com>2026-11-09 17:01:31 -0800
commitb2ddd6af0646503364e23c021f5d2748473c9d4e (patch)
tree69c48e317c2a84d7aa6dc68bbc505e882f12e312 /scripts
parent7a2ff8e1f2817741d1a68f00a9cdf05fa158be64 (diff)
KVM: selftests: Fix arm64 sysreg header dependencies
The rule generating the arm64 sysreg header targets the generated directory, and its only prerequisite is tools/arch/arm64/tools/*, which expands to the inner Makefile. An existing directory looks up to date, so an incremental build never regenerates sysreg-defs.h for a change to the sysreg table. A selftest referencing a register added to the table since then fails with undeclared SYS_* identifiers. Clean builds are unaffected. Always recurse into tools/arch/arm64/tools, whose Makefile already tracks the generator's inputs, and target the header rather than its directory. The recursion leaves the header untouched when nothing changed, so the dependents rebuild only when the header does. Fixes: 70c7b704ca725 ("KVM: selftests: Avoid using forced target for generating arm64 headers") Link: https://lore.kernel.org/r/arGRhHgP_izSwW4T@kernel.org Assisted-by: LLM Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20260922071945.693714-2-fuad.tabba@linux.dev Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions