]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usr/include: replace extra-y with always-y
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 27 Feb 2022 09:03:35 +0000 (18:03 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 31 Mar 2022 03:03:46 +0000 (12:03 +0900)
extra-y is not run for 'make modules'. The header compile test should
be executed irrespective of the build target. always-y is a better fit.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
usr/include/Makefile

index 5bc0d566cfe0f8dbe6d7e56c33e409c52f8143d7..ac206fb27c652320d002e3bc0a7999ccdf7b6d61 100644 (file)
@@ -95,7 +95,7 @@ endif
 # asm-generic/*.h is used by asm/*.h, and should not be included directly
 no-header-test += asm-generic/%
 
-extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
+always-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
 
 # Include the header twice to detect missing include guard.
 quiet_cmd_hdrtest = HDRTEST $<