From e229c0bdf052c1f7ea0565054204b6a5c89ed037 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 11 Jun 2026 22:16:54 +1200 Subject: Add a custom kernel target --- meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb (limited to 'meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb') diff --git a/meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb b/meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb new file mode 100644 index 0000000..1c141b0 --- /dev/null +++ b/meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb @@ -0,0 +1,30 @@ +SUMMARY = "Linux kernel for Yerba Linux" +LICENSE = "GPL-2.0-only" +# do that later +# LIC_FILES_CHKSUM = "" + +inherit kernel + +DEPENDS += "bison-native flex-native bc-native" + +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +LINUX_VERSION = "7.0.11" +PV = "${LINUX_VERSION}+tarball${SRCPV}" +LINUX_RELEASE = "v7.x" +LINUX_TARBALL = "https://cdn.kernel.org/pub/linux/kernel/${LINUX_RELEASE}/linux-${LINUX_VERSION}.tar.xz" + +SRC_URI = "${LINUX_TARBALL} \ + file://defconfig +" +SRC_URI[sha256sum] = "5WyDVt2gETamBBxu+DK9Dsmb0tNd/5eDKqXsEO0BQwQ=" + +S = "${WORKDIR}/linux-${LINUX_VERSION}" + +do_configure:prepend() { + cp ${WORKDIR}/defconfig ${B}/.config +} + +COMPATIBLE_MACHINE = "yerba-x86_64" + + -- cgit v1.2.3