]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - scripts/Makefile.build
kbuild: filter-out PHONY targets from "targets"
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Nov 2017 10:29:36 +0000 (19:29 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 16 Nov 2017 00:07:35 +0000 (09:07 +0900)
commit591f66899784ae0afa13ff9a3eb5ce0a4358e48b
tree847829a13d9542043ce1cf7eaee8a643afd5059d
parent2982c953570b2bced858613d70443c2c6a90587b
kbuild: filter-out PHONY targets from "targets"

The variable "targets" contains object paths for which existing .*.cmd
files should be included.

scripts/Makefile.build automatically adds $(MAKECMDGOALS) to "targets"
as follows:

  targets += $(extra-y) $(MAKECMDGOALS) $(always)

The $(MAKECMDGOALS) is a PHONY target in several places.  PHONY targets
never create .*.cmd files.

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