From 7936c72223806b40154b570a07fe37cb16870f58 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 30 Oct 2025 13:19:00 -0400 Subject: kernel/6.17: add support Signed-off-by: Bruce Ashfield --- .../linux/linux-yocto_6.17_virtualization.inc | 4 +++ recipes-kernel/linux/yocto-cfg-fragments-6.17.bb | 35 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_6.17_virtualization.inc create mode 100644 recipes-kernel/linux/yocto-cfg-fragments-6.17.bb diff --git a/recipes-kernel/linux/linux-yocto_6.17_virtualization.inc b/recipes-kernel/linux/linux-yocto_6.17_virtualization.inc new file mode 100644 index 00000000..59311487 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_6.17_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.17.bb b/recipes-kernel/linux/yocto-cfg-fragments-6.17.bb new file mode 100644 index 00000000..8379d2c7 --- /dev/null +++ b/recipes-kernel/linux/yocto-cfg-fragments-6.17.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.17" +PV = "v${LINUX_VERSION}+git${SRCREV}" + +SRCREV = "b4e4cfd96ab92d6bdf9d4498dde977aa66ee0702" +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" + -- cgit v1.2.3-54-g00ecf