diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-30 22:59:18 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-03 10:12:55 +0100 |
commit | da845fd900735d1d7f9f0fdedd296d3f69437c9d (patch) | |
tree | fceedb4990dfbfe46a57202bcf905b4ca3de9844 /scripts | |
parent | 64fc4ac1b50a06b17a72c7427e797b3a33a30e8c (diff) | |
download | barebox-da845fd900735d1d7f9f0fdedd296d3f69437c9d.tar.gz barebox-da845fd900735d1d7f9f0fdedd296d3f69437c9d.tar.xz |
kbuild: filter-out PHONY targets from "targets"
Linux commit 591f66899784ae0afa13ff9a3eb5ce0a4358e48b
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 56ee072065..883435bdf6 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -377,7 +377,7 @@ $(multi-used-m): FORCE $(call multi_depend, $(multi-used-m), .o, -objs -y) targets += $(multi-used-y) $(multi-used-m) - +targets := $(filter-out $(PHONY), $(targets)) # Descending # --------------------------------------------------------------------------- |