aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-kernel/linux/linux-yerba_7.0.bb
diff options
context:
space:
mode:
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"
+
+