Unverified Commit d4b7080b authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Nathan Chancellor
Browse files

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: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: default avatarNicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250813-kbuild-hdrtest-fixes-v2-1-8a7921ca3a03@linutronix.de


Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
parent f7cc3cae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ quiet_cmd_hdrtest = HDRTEST $<
		$(PERL) $(src)/headers_check.pl $(obj) $<; \
		touch $@

$(obj)/%.hdrtest: $(obj)/%.h FORCE
$(obj)/%.hdrtest: $(obj)/%.h $(src)/headers_check.pl FORCE
	$(call if_changed_dep,hdrtest)

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