aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-11 22:16:54 +1200
committerArslaan Pathan <[email protected]>2026-06-11 22:16:54 +1200
commite229c0bdf052c1f7ea0565054204b6a5c89ed037 (patch)
treeae2f9d6fa5584ddc5372a62750f5a8d42e114904 /meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb
parentcbc46db144cf3fcb9a7cbb5b831dc8a5dde36e61 (diff)
downloadyerbalinux-e229c0bdf052c1f7ea0565054204b6a5c89ed037.tar.xz
yerbalinux-e229c0bdf052c1f7ea0565054204b6a5c89ed037.zip
Add a custom kernel target
Diffstat (limited to 'meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb')
-rw-r--r--meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb30
1 files changed, 30 insertions, 0 deletions
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"
+
+