diff mbox series

[1/2] linux-yocto-dev: drop DeviceTree validation dependencies

Message ID 20260925124825.1868909-1-ross.burton@arm.com
State New
Headers show
Series [1/2] linux-yocto-dev: drop DeviceTree validation dependencies | expand

Commit Message

Ross Burton Sept. 25, 2026, 12:48 p.m. UTC
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 <ross.burton@arm.com>
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Bruce Ashfield Sept. 25, 2026, 1:10 p.m. UTC | #1
Ackd

Bruce

On Fri, Sep 25, 2026 at 8:48 AM Ross Burton <ross.burton@arm.com> wrote:

> 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 <ross.burton@arm.com>
> ---
>  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
>
>
diff mbox series

Patch

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"