From 2fade05b86228a1f4787fe4c839094675f1452e8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 9 Sep 2025 14:38:35 -0400 Subject: [PATCH] kernel: add 6.16 support Adding the 6.16 configuration files to support meta-virt against 6.16 kernels. Signed-off-by: Bruce Ashfield --- .../linux/linux-yocto_6.16_virtualization.inc | 4 +++ .../linux/yocto-cfg-fragments-6.16.bb | 35 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_6.16_virtualization.inc create mode 100644 recipes-kernel/linux/yocto-cfg-fragments-6.16.bb diff --git a/recipes-kernel/linux/linux-yocto_6.16_virtualization.inc b/recipes-kernel/linux/linux-yocto_6.16_virtualization.inc new file mode 100644 index 00000000..59311487 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_6.16_virtualization.inc @@ -0,0 +1,4 @@ +# include the baseline meta virtualization configuration options +# after this include, we can do version specific things + +include linux-yocto_virtualization.inc diff --git a/recipes-kernel/linux/yocto-cfg-fragments-6.16.bb b/recipes-kernel/linux/yocto-cfg-fragments-6.16.bb new file mode 100644 index 00000000..e7da69d8 --- /dev/null +++ b/recipes-kernel/linux/yocto-cfg-fragments-6.16.bb @@ -0,0 +1,35 @@ +HOMEPAGE = "https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/" +SUMMARY = "Kernel configuration fragments" +DESCRIPTION = "Typically used as part of a kernel clone, this is the standalone \ +fragment repository. Making it available to other fragment management schemes \ +" +SECTION = "devel" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" +INHIBIT_DEFAULT_DEPS = "1" + +LINUX_VERSION ?= "6.16" +PV = "v${LINUX_VERSION}+git${SRCREV}" + +SRCREV = "29767181a0c0a97c8ba4941f6834044d9ffaed86" +SRC_URI = "\ + git://git.yoctoproject.org/yocto-kernel-cache;branch=yocto-${LINUX_VERSION} \ + " + +do_install() { + install -d ${D}${base_prefix}/kcfg + + # copy the configuration fragments over to the native deploy + cp -r ${S}/* ${D}${base_prefix}/kcfg + # scripts bring in a bash dependency we don't want + rm -rf ${D}${base_prefix}/kcfg/scripts +} + +FILES:${PN} += "kcfg/" +SYSROOT_DIRS += "${base_prefix}/kcfg" +BBCLASSEXTEND = "native nativesdk" +