]> git.ipfire.org Git - thirdparty/u-boot.git/commit
scripts/dtc: drop yaml in DT validation
authorJoão Marcos Costa <joaomarcos.costa@bootlin.com>
Wed, 29 Apr 2026 14:46:15 +0000 (16:46 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 30 Apr 2026 18:21:47 +0000 (12:21 -0600)
commit8ef8dee4f3a2b2021decfefd853dbd2a1632b77f
tree3de577c2296e2ec0b4ebbd991068d04a5e196691
parent817653c53de7debd7b386768f5a74111633557d3
scripts/dtc: drop yaml in DT validation

The build issues found in dtc/yamltree were partially mitigated by a
previous commit (807bcd844a: "scripts/dtc: Fix pkg-config behavior under
sysroot"), but upstream dtc simply disabled yaml, and the same should be
done here in order to permanently avoid those issues.

Backport the change below from Linux v5.18 [1]:

ef8795f3f1c ("dt-bindings: kbuild: Use DTB files for validation")

I tested this patch with a couple Yocto builds: u-boot and u-boot-tools,
using the current master branch (rev. "c53b0708f9"), having removed
libyaml-native from u-boot-tools's dependencies.

[1] https://git.kernel.org/linus/ef8795f3f1ce

Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
Acked-by: Quentin Schulz <quentin.schulz@cherry.de>
scripts/Makefile.lib
scripts/dtc/Makefile
scripts/dtc/update-dtc-source.sh