summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-02-22 20:04:33 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-02-26 18:26:01 +0100
commit964a596db8db8c77c9903dd05655696696e6b3ad (patch)
tree99427310579daa507e69d28774ca38591281207b /Makefile
parentkbuild: remove unneeded semicolon at the end of cmd_dtb_check (diff)
downloadlinux-964a596db8db8c77c9903dd05655696696e6b3ad.tar.xz
linux-964a596db8db8c77c9903dd05655696696e6b3ad.zip
kbuild: add dtbs_check to PHONY
The dtbs_check should be a phony target, but currently it is not specified so. 'make dtbs_check' works even if a file named 'dtbs_check' exists because it depends on another phony target, scripts_dtc, but we should not rely on it. Add dtbs_check to PHONY. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2afa692b39ff..51df13599211 100644
--- a/Makefile
+++ b/Makefile
@@ -1239,7 +1239,7 @@ ifneq ($(dtstree),)
%.dtb: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
-PHONY += dtbs dtbs_install dt_binding_check
+PHONY += dtbs dtbs_install dtbs_check dt_binding_check
dtbs dtbs_check: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)