diff options
| author | Masahiro Yamada <[email protected]> | 2018-10-04 04:25:19 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-10-19 00:47:46 +0000 |
| commit | 69ea912fda74a673d330d23595385e5b73e3a2b9 (patch) | |
| tree | b1e7f945f216baa35fbeebdd6be72a602cd343cb /scripts/asn1_compiler.c | |
| parent | kbuild: add -Wno-unused-but-set-variable flag unconditionally (diff) | |
| download | kernel-69ea912fda74a673d330d23595385e5b73e3a2b9.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions
