From 7983549705b52f386dccc4a354bf4c8739bfe1f5 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Thu, 30 May 2019 15:20:44 +0200 Subject: [PATCH] linux-mainline: Add bleeding edge kernel version Useful for testing new stuff. There is one patch which was necessary see: http://lists.openembedded.org/pipermail/openembedded-core/2019-May/283034.html Signed-off-by: Marek Belisko --- ...nline_git.bb => linux-mainline_5.2-rc2.bb} | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) rename recipes-kernel/linux/{linux-mainline_git.bb => linux-mainline_5.2-rc2.bb} (54%) diff --git a/recipes-kernel/linux/linux-mainline_git.bb b/recipes-kernel/linux/linux-mainline_5.2-rc2.bb similarity index 54% rename from recipes-kernel/linux/linux-mainline_git.bb rename to recipes-kernel/linux/linux-mainline_5.2-rc2.bb index 5b8e321..ac1710c 100644 --- a/recipes-kernel/linux/linux-mainline_git.bb +++ b/recipes-kernel/linux/linux-mainline_5.2-rc2.bb @@ -15,17 +15,21 @@ KBRANCH ?= "master" # Pull in the devicetree files into the rootfs RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree" -# Default is to use stable kernel version -# If you want to use latest git version set to "1" -DEFAULT_PREFERENCE = "-1" - KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" - -# v4.17-rc7 -PV = "v4.17-rc7+git${SRCPV}" -SRCREV_pn-${PN} = "b04e217704b7f879c6b91222b066983a44a7a09f" -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \ +S = "${WORKDIR}/linux-${PV}" + +SRC_URI[md5sum] = "bf80c4ab5f475a2c0846340fb9eb6449" +SRC_URI[sha256sum] = "8ec8258e75ebdcd8197328b8571435c246f55d7da7f6ed65e96aa8d4bff9a639" + +SRC_URI = "https://git.kernel.org/torvalds/t/linux-${PV}.tar.gz \ + file://0003-ARM-dts-nanopi-neo-air-Add-WiFi-eMMC.patch \ file://defconfig \ " -S = "${WORKDIR}/git" + +SRC_URI_append_orange-pi-zero += "\ + file://0001-add-wifi-support.patch \ + " + +FILES_${KERNEL_PACKAGE_NAME}-base_append = " ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo" +