]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: fix false-positive need-builtin calculation
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Aug 2019 10:03:21 +0000 (19:03 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 9 Aug 2019 16:45:31 +0000 (01:45 +0900)
commit4a5a499680bf4280086c6063ac0c76a949e28c82
tree6e30db618bb1e5aa190c3aa1b514e8fb6b8cf056
parente53e95e513bc0cee9413904d3f9d002d6402a87d
kbuild: fix false-positive need-builtin calculation

The current implementation of need-builtin is false-positive,
for example, in the following Makefile:

  obj-m := foo/
  obj-y := foo/bar/

..., where foo/built-in.a is not required.

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