summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-02-27 18:03:35 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-03-31 12:03:46 +0900
commitc1ea04d82778ed04ed0943eb85c55c221d9d3a5b (patch)
tree3530dfaa39c25f85fd87ef77449438b914275df4 /usr
parentf44b645fe0070c0f1ac34a358252a7123c56e709 (diff)
downloadlwn-c1ea04d82778ed04ed0943eb85c55c221d9d3a5b.tar.gz
lwn-c1ea04d82778ed04ed0943eb85c55c221d9d3a5b.zip
usr/include: replace extra-y with always-y
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>
Diffstat (limited to 'usr')
-rw-r--r--usr/include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/include/Makefile b/usr/include/Makefile
index 5bc0d566cfe0..ac206fb27c65 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -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 $<