diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-02-27 10:03:35 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-03-31 05:03:46 +0200 |
commit | c1ea04d82778ed04ed0943eb85c55c221d9d3a5b (patch) | |
tree | 3530dfaa39c25f85fd87ef77449438b914275df4 /usr | |
parent | certs: simplify empty certs creation in certs/Makefile (diff) | |
download | linux-c1ea04d82778ed04ed0943eb85c55c221d9d3a5b.tar.xz linux-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/Makefile | 2 |
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 $< |