summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-16 22:29:45 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-17 22:37:51 +0900
commit4bd01de8f201abb704ae9bda3af4ea9ba3a10b0a (patch)
tree9a858ff1c76399960b92a378649cd43fab281558 /scripts/Makefile.lib
parentc04d1e46fcd6090f2ae04e285e9d3adcf376f5b1 (diff)
downloadlinux-4bd01de8f201abb704ae9bda3af4ea9ba3a10b0a.tar.gz
linux-4bd01de8f201abb704ae9bda3af4ea9ba3a10b0a.tar.bz2
linux-4bd01de8f201abb704ae9bda3af4ea9ba3a10b0a.zip
kbuild: compile-test headers listed in header-test-m as well
It will be useful to control the header-test by a tristate option. If CONFIG_FOO is a tristate option, you can write like this: header-test-$(CONFIG_FOO) += foo.h Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 6cb3aa5cbc79..5241d0751eb0 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -78,7 +78,7 @@ header-test-y += $(filter-out $(header-test-), \
$(wildcard $(addprefix $(srctree)/$(src)/, \
$(header-test-pattern-y)))))
-extra-$(CONFIG_HEADER_TEST) += $(addsuffix .s, $(header-test-y))
+extra-$(CONFIG_HEADER_TEST) += $(addsuffix .s, $(header-test-y) $(header-test-m))
# Add subdir path