The mandatory DeviceTree schema checking was added in 5.16-rc4[1] but it
was reverted in 5.16-rc5[2], so drop it from from linux-yocto-dev.bb.

Note that linux-yocto.bb went from 5.15 to 5.19, so this change never
impacted that recipe.

[1] linux 53182e81f47d4 ("kbuild: Enable DT schema checks for %.dtb targets")
[2] linux 75e895343d5a2 ("Revert "kbuild: Enable DT schema checks for %.dtb 
targets"")

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb 
b/meta/recipes-kernel/linux/linux-yocto-dev.bb
index 03999c5318a..be5a33bdd61 100644
--- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
@@ -35,16 +35,6 @@ PV = "${LINUX_VERSION}+git"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-# yaml and dtschema are required for 5.16+ device tree validation, libyaml is 
checked
-# via pkgconfig, so must always be present, but we can wrap the others to make 
them
-# conditional
-DEPENDS += "libyaml-native"
-
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[dt-validation] = ",,python3-dtschema-native"
-# we need the wrappers if validation isn't in the packageconfig
-DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'dt-validation', '', 
'python3-dtschema-wrapper-native', d)}"
-
 COMPATIBLE_MACHINE = 
"^(qemuarmv5|qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv32|qemuriscv64|qemuloongarch64)$"
 
 KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246617): 
https://lists.openembedded.org/g/openembedded-core/message/246617
Mute This Topic: https://lists.openembedded.org/mt/121425489/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to