Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -1
+1 -1
usr/include/Makefile
··· 95 95 # asm-generic/*.h is used by asm/*.h, and should not be included directly 96 96 no-header-test += asm-generic/% 97 97 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)) 99 99 100 100 # Include the header twice to detect missing include guard. 101 101 quiet_cmd_hdrtest = HDRTEST $<