]> asedeno.scripts.mit.edu Git - linux.git/commit
kbuild: treat an object as multi-used when $(foo-) is set
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Aug 2019 06:39:19 +0000 (15:39 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 14 Aug 2019 17:25:11 +0000 (02:25 +0900)
commit33e84f2e79659e410c379b530dac57779f201d15
tree7a1fbc231bd721a8c0f00064baef3a4da645bf0b
parentf6545bec969358eace40419aff26a2a236e0b813
kbuild: treat an object as multi-used when $(foo-) is set

Currently, Kbuild treats an object as multi-used when any of
$(foo-objs), $(foo-y), $(foo-m) is set. It makes more sense to
check $(foo-) as well.

In the context of foo-$(CONFIG_FOO_FEATURE1), CONFIG_FOO_FEATURE1
could be unset.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.lib