kbuild: filter-out PHONY targets from "targets"
Linux commit 591f668

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>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 64fc4ac commit da845fd900735d1d7f9f0fdedd296d3f69437c9d
@Masahiro Yamada Masahiro Yamada authored on 30 Dec 2018
Sascha Hauer committed on 3 Jan 2019
Showing 1 changed file
View
scripts/Makefile.build