aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r--scripts/Makefile.build12
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 6ac96ea92bfc..7afe3e76cb5a 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -4,7 +4,7 @@
4 4
5src := $(obj) 5src := $(obj)
6 6
7.PHONY: __build 7PHONY := __build
8__build: 8__build:
9 9
10# Read .config if it exist, otherwise ignore 10# Read .config if it exist, otherwise ignore
@@ -308,14 +308,14 @@ targets += $(multi-used-y) $(multi-used-m)
308# Descending 308# Descending
309# --------------------------------------------------------------------------- 309# ---------------------------------------------------------------------------
310 310
311.PHONY: $(subdir-ym) 311PHONY += $(subdir-ym)
312$(subdir-ym): 312$(subdir-ym):
313 $(Q)$(MAKE) $(build)=$@ 313 $(Q)$(MAKE) $(build)=$@
314 314
315# Add FORCE to the prequisites of a target to force it to be always rebuilt. 315# Add FORCE to the prequisites of a target to force it to be always rebuilt.
316# --------------------------------------------------------------------------- 316# ---------------------------------------------------------------------------
317 317
318.PHONY: FORCE 318PHONY += FORCE
319 319
320FORCE: 320FORCE:
321 321
@@ -330,3 +330,9 @@ cmd_files := $(wildcard $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd))
330ifneq ($(cmd_files),) 330ifneq ($(cmd_files),)
331 include $(cmd_files) 331 include $(cmd_files)
332endif 332endif
333
334
335# Declare the contents of the .PHONY variable as phony. We keep that
336# information in a variable se we can use it in if_changed and friends.
337
338.PHONY: $(PHONY)