diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-04 06:25:19 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-19 02:47:46 +0200 |
commit | 69ea912fda74a673d330d23595385e5b73e3a2b9 (patch) | |
tree | b1e7f945f216baa35fbeebdd6be72a602cd343cb /scripts/bin2c.c | |
parent | kbuild: add -Wno-unused-but-set-variable flag unconditionally (diff) | |
download | linux-69ea912fda74a673d330d23595385e5b73e3a2b9.tar.xz linux-69ea912fda74a673d330d23595385e5b73e3a2b9.zip |
kbuild: remove unneeded link_multi_deps
Since commit c8589d1e9e01 ("kbuild: handle multi-objs dependency
appropriately"), $^ really represents all the prerequisite of the
composite object being built.
Hence, $(filter %.o,$^) contains all the objects to link together,
which is much simpler than link_multi_deps calculation.
Please note $(filter-out FORCE,$^) does not work here. When a single
object module is turned into a multi object module, $^ will contain
header files that were previously included for building the single
object, and recorded in the .*.cmd file. To filter out such headers,
$(filter %.o,$^) should be used here.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions