summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-12-08 15:39:16 -0600
committerRob Herring <robh@kernel.org>2021-12-08 15:41:19 -0600
commit75e895343d5a2fcbdf4cb3d31ab7492bd65925f0 (patch)
tree40b878e504d7415e91aac6015095273f969650e0 /Makefile
parent656eb419b5076bacc536ddb66d30f2f3bf0bba92 (diff)
downloadlinux-75e895343d5a2fcbdf4cb3d31ab7492bd65925f0.tar.gz
linux-75e895343d5a2fcbdf4cb3d31ab7492bd65925f0.tar.bz2
linux-75e895343d5a2fcbdf4cb3d31ab7492bd65925f0.zip
Revert "kbuild: Enable DT schema checks for %.dtb targets"
This reverts commit 53182e81f47d4ea0c727c49ad23cb782173ab849. This added tool dependencies on various build systems using %.dtb targets. Validation will need to be controlled by a kconfig or make variable instead, but for now let's just revert it. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9e12c14ea0fb..fa5070e53979 100644
--- a/Makefile
+++ b/Makefile
@@ -1374,17 +1374,17 @@ endif
ifneq ($(dtstree),)
-%.dtb: dt_binding_check include/config/kernel.release scripts_dtc
- $(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@ $(dtstree)/$*.dt.yaml
+%.dtb: include/config/kernel.release scripts_dtc
+ $(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
-%.dtbo: dt_binding_check include/config/kernel.release scripts_dtc
- $(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@ $(dtstree)/$*.dt.yaml
+%.dtbo: include/config/kernel.release scripts_dtc
+ $(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
PHONY += dtbs dtbs_install dtbs_check
dtbs: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)
-ifneq ($(filter dtbs_check %.dtb %.dtbo, $(MAKECMDGOALS)),)
+ifneq ($(filter dtbs_check, $(MAKECMDGOALS)),)
export CHECK_DTBS=y
dtbs: dt_binding_check
endif