mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-06-21 08:52:24 +02:00
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:
committed by
Khem Raj
parent
bd88940ab6
commit
3ab3c4024d
@@ -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} \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user