From: Bruce Ashfield <bruce.ashfi...@gmail.com> Bumping the version of -dev ot 5.16. We also pickup two new dependencies to support kernel dtschema validation. This requirement was introduced by kernel commit:
commit 53182e81f47d4ea0c727c49ad23cb782173ab849 Author: Rob Herring <r...@kernel.org> Date: Mon Sep 13 09:51:46 2021 -0500 kbuild: Enable DT schema checks for %.dtb targets It is possible to build a single dtb, but not with DT schema validation enabled. Enable the schema validation to run for %.dtb and %.dtbo targets. Anyone building a dtb for a specific platform *should* pay attention to schema warnings. This could be supported with a separate %.dt.yaml target instead. However, the .dt.yaml format is considered an intermediate format and could possibly go away at some point if schema checking is integrated into dtc. Also, the plan is to enable the schema checks by default once platforms are free of warnings, and this is a move in that direction. Cc: Dmitry Baryshkov <dmitry.barysh...@linaro.org> Cc: Tom Rini <tr...@konsulko.com> Cc: Masahiro Yamada <masahi...@kernel.org> Cc: linux-kbu...@vger.kernel.org Signed-off-by: Rob Herring <r...@kernel.org> Acked-by: Masahiro Yamada <masahi...@kernel.org> Link: https://lore.kernel.org/r/20210913145146.766080-1-r...@kernel.org Signed-off-by: Bruce Ashfield <bruce.ashfi...@gmail.com> --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 005b688778..ed94ab2517 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb @@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name SRCREV_machine ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-yocto-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' SRCREV_meta ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-yocto-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' -LINUX_VERSION ?= "5.15+" +LINUX_VERSION ?= "5.16+" LINUX_VERSION_EXTENSION ?= "-yoctodev-${LINUX_KERNEL_TYPE}" PV = "${LINUX_VERSION}+git${SRCPV}" @@ -39,6 +39,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" DEPENDS += "gmp-native libmpc-native" +# yaml and dtschema are required for 5.16+ device tree validation +DEPENDS += "libyaml-native python3-dtschema-native" COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64)" -- 2.19.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#158747): https://lists.openembedded.org/g/openembedded-core/message/158747 Mute This Topic: https://lists.openembedded.org/mt/87290453/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-