Skip to content

Commit 1b1c9f0

Browse files
robherringmasahir0y
authored andcommitted
dt-bindings: kbuild: Fix dt_binding_check on unconfigured build
The 'dt_binding_check' target shouldn't depend on the kernel configuration, but it has since commit 604a57b ("dt-bindings: kbuild: Add separate target/dependency for processed-schema.json"). That is because CHECK_DT_BINDING make variable was dropped, but scripts/dtc/Makefile was missed. The CHECK_DTBS variable can be used instead. Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com> Fixes: 604a57b ("dt-bindings: kbuild: Add separate target/dependency for processed-schema.json") Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 6e58e01 commit 1b1c9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dtc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# *** Also keep .gitignore in sync when changing ***
55
hostprogs-always-$(CONFIG_DTC) += dtc fdtoverlay
6-
hostprogs-always-$(CHECK_DT_BINDING) += dtc
6+
hostprogs-always-$(CHECK_DTBS) += dtc
77

88
dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
99
srcpos.o checks.o util.o

0 commit comments

Comments
 (0)