Skip to content

Commit c1ea04d

Browse files
committed
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>
1 parent f44b645 commit c1ea04d

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
@@ -95,7 +95,7 @@ endif
9595
# asm-generic/*.h is used by asm/*.h, and should not be included directly
9696
no-header-test += asm-generic/%
9797

98-
extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
98+
always-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
9999

100100
# Include the header twice to detect missing include guard.
101101
quiet_cmd_hdrtest = HDRTEST $<

0 commit comments

Comments
 (0)