dt-bindings: kbuild: Fix dt_binding_check on unconfigured build
authorRob Herring (Arm) <robh@kernel.org>
Tue, 28 May 2024 20:02:32 +0000 (15:02 -0500)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 May 2024 16:15:58 +0000 (01:15 +0900)
commit1b1c9f0fd3fb70adf1f3b0aec58ab037d6e595d0
treea2f2325331e770c2c431010afe6ab99ca7aed35d
parent6e58e0173507e506a5627741358bc770f220e356
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 604a57ba9781 ("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: 604a57ba9781 ("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>
scripts/dtc/Makefile