1
0
Fork 0
alistair23-linux/Documentation/devicetree
Masahiro Yamada afa974b771 kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)
In Kbuild, if_changed and friends must have FORCE as a prerequisite.

Hence, $(filter-out FORCE,$^) or $(filter-out $(PHONY),$^) is a common
idiom to get the names of all the prerequisites except phony targets.

Add real-prereqs as a shorthand.

Note:
We cannot replace $(filter %.o,$^) in cmd_link_multi-m because $^ may
include auto-generated dependencies from the .*.cmd file when a single
object module is changed into a multi object module. Refer to commit
69ea912fda ("kbuild: remove unneeded link_multi_deps"). I added some
comment to avoid accidental breakage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
2019-01-28 09:11:17 +09:00
..
bindings kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^) 2019-01-28 09:11:17 +09:00
booting-without-of.txt dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/ 2018-01-22 05:48:34 +11:00
changesets.txt
dynamic-resolution-notes.txt Documentation: remove dynamic-resolution-notes reference to non-existent file 2018-08-13 08:20:10 -06:00
of_unittest.txt
overlay-notes.txt of: overlay: Stop leaking resources on overlay removal 2018-04-26 21:18:13 -05:00
usage-model.txt
writing-schema.md dt-bindings: Add a writing DT schemas how-to and annotated example 2018-12-13 09:41:49 -06:00