]> 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)
commit17d52b767d3a947f61845987c00f9d75c44a7fe7
tree6e30db618bb1e5aa190c3aa1b514e8fb6b8cf056
parent9136ecabdaa8feb8477c85c42ba2532494aa9707
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