From: Masahiro Yamada Date: Sun, 27 Feb 2022 09:03:35 +0000 (+0900) Subject: usr/include: replace extra-y with always-y X-Git-Tag: howlett/maple/20220722_2~849^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c1ea04d82778ed04ed0943eb85c55c221d9d3a5b;p=users%2Fjedix%2Flinux-maple.git 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 --- 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 $<