recipes-kernel: linux: Set SRCPV and PV

Set SRCPV and PV, this avoids errors when using devtool with the
linux-mainline.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Alistair Francis 2022-03-30 17:26:11 +10:00 committed by Khem Raj
parent bd88940ab6
commit 3ab3c4024d

View file

@ -1,10 +1,12 @@
require recipes-kernel/linux/linux-mainline-common.inc
LINUX_VERSION ?= "5.17.x"
LINUX_VERSION ?= "5.17+"
KERNEL_VERSION_SANITY_SKIP="1"
PV = "${LINUX_VERSION}+git${SRCPV}"
BRANCH = "linux-5.17.y"
SRCREV = "${AUTOREV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"
SRC_URI = " \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;branch=${BRANCH} \
"