path: root/Makefile
diff options
authorLinus Torvalds <>2020-02-27 11:26:33 -0800
committerLinus Torvalds <>2020-02-27 11:26:33 -0800
commita2f0b878c3ca531a1706cb2a8b079cea3b17bafc (patch)
tree30b41a1a34946ac4a87da7dd6ebaaa4475c989d1 /Makefile
parent278de45e145bedff90072fb47bafdde8393f6a80 (diff)
parenteabc8bcb292fb9a5757b0c8ab7751f41b0a104f8 (diff)
Merge tag 'kbuild-fixes-v5.6-2' of git://
Pull Kbuild fixes from Masahiro Yamada: - fix missed rebuild of DT schema check - add some phony targets to PHONY - fix comments and documents * tag 'kbuild-fixes-v5.6-2' of git:// kbuild: get rid of trailing slash from subdir- example kbuild: add dt_binding_check to PHONY in a correct place kbuild: add dtbs_check to PHONY kbuild: remove unneeded semicolon at the end of cmd_dtb_check kbuild: fix DT binding schema rule to detect command line changes kbuild: remove wrong documentation about mandatory-y kbuild: add comment for V=2 mode
Diffstat (limited to 'Makefile')
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0914049d2929..1a1a0d271697 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ unexport GREP_OPTIONS
# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
# If KBUILD_VERBOSE equals 1 then the above command is displayed.
+# If KBUILD_VERBOSE equals 2 then give the reason why each target is rebuilt.
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
@@ -1238,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
dtbs dtbs_check: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)
@@ -1258,6 +1259,7 @@ PHONY += scripts_dtc
scripts_dtc: scripts_basic
$(Q)$(MAKE) $(build)=scripts/dtc
+PHONY += dt_binding_check
dt_binding_check: scripts_dtc
$(Q)$(MAKE) $(build)=Documentation/devicetree/bindings