]> git.baikalelectronics.ru Git - kernel.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)
commit98fae61b742edce859511b73659674330eafbf54
tree7a1fbc231bd721a8c0f00064baef3a4da645bf0b
parentb3ddd858c99786ab59d553a861b0cd90b30ec02a
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