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.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -562,7 +562,7 @@ $(multi-used-m): FORCE · 561 unmodified lines | ||
| 562 | 562 | $(call multi_depend, $(multi-used-m), .o, -objs -y -m) |
| 563 | 563 | |
| 564 | 564 | targets += $(multi-used-y) $(multi-used-m) |
| 565 | − | |
| 565 | +targets := $(filter-out $(PHONY), $(targets)) | |
| 566 | 566 | |
| 567 | 567 | # Descending |
| 568 | 568 | # --------------------------------------------------------------------------- |