From 729c01ad2e3d7cd165c9eba96ebe4ef0b728298d Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Wed, 18 Aug 2021 09:43:57 -0400 Subject: [PATCH] arm-bsp/linux-yocto: Add 5.4 kernel Temporary hack to allow for things to continue to work, while waiting for the platforms to migrate to a newer kernel. Signed-off-by: Jon Mason --- .../recipes-kernel/linux/linux-yocto_5.4.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bb diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bb new file mode 100644 index 00000000..0a67f878 --- /dev/null +++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bb @@ -0,0 +1,22 @@ +KBRANCH ?= "v5.4/standard/base" + +require recipes-kernel/linux/linux-yocto.inc + +SRCREV_machine ?= "807b4668ff7fe3be031ace442a84d70821ef9571" +SRCREV_meta ?= "98ba88191b7c489bc0d83b6c87a31b2330fcd886" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" +LINUX_VERSION ?= "5.4.139" + +DEPENDS += "openssl-native util-linux-native" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +KMETA = "kernel-meta" +KCONF_BSP_AUDIT_LEVEL = "1" + +# Functionality flags +KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"