kbuild: compile-test headers listed in header-test-m as well
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Jul 2019 13:29:45 +0000 (22:29 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 13:37:51 +0000 (22:37 +0900)
commit4bd01de8f201abb704ae9bda3af4ea9ba3a10b0a
tree9a858ff1c76399960b92a378649cd43fab281558
parentc04d1e46fcd6090f2ae04e285e9d3adcf376f5b1
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>
scripts/Makefile.build
scripts/Makefile.lib