Skip to content

Commit d4b7080

Browse files
t-8chnathanchance
authored andcommitted
kbuild: uapi: rerun header tests when headers_check.pl changes
If the checks change they need to be rerun. Add a Makefile dependency so this happens. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nicolas Schier <nsc@kernel.org> Link: https://lore.kernel.org/r/20250813-kbuild-hdrtest-fixes-v2-1-8a7921ca3a03@linutronix.de Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent f7cc3ca commit d4b7080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

usr/include/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ quiet_cmd_hdrtest = HDRTEST $<
8585
$(PERL) $(src)/headers_check.pl $(obj) $<; \
8686
touch $@
8787

88-
$(obj)/%.hdrtest: $(obj)/%.h FORCE
88+
$(obj)/%.hdrtest: $(obj)/%.h $(src)/headers_check.pl FORCE
8989
$(call if_changed_dep,hdrtest)
9090

9191
# Since GNU Make 4.3, $(patsubst $(obj)/%/,%,$(wildcard $(obj)/*/)) works.

0 commit comments

Comments
 (0)