summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-kernel
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-09-12 17:08:02 -0700
committerMark Hatle <mark.hatle@amd.com>2022-09-12 17:08:02 -0700
commite859586f3432f9ef5f4c2930cd2821a0075868e8 (patch)
treea0dc9e2a854d3c1222233504d22999a0b39d2928 /meta-xilinx-core/recipes-kernel
parentc350c58a84391ed52a370010b2edf9853d67cf64 (diff)
downloadmeta-xilinx-e859586f3432f9ef5f4c2930cd2821a0075868e8.tar.gz
various: Use recipe version instead of XILINX_RELEASE_VERSION in PV
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-kernel')
-rw-r--r--meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
index 08755b26..2edebe8e 100644
--- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
+++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
@@ -1,13 +1,12 @@
1# This version extension should match CONFIG_LOCALVERSION in defconfig 1# This version extension should match CONFIG_LOCALVERSION in defconfig
2XILINX_RELEASE_VERSION ?= "" 2LINUX_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
3LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
4PV = "${LINUX_VERSION}+git${SRCPV}" 3PV = "${LINUX_VERSION}+git${SRCPV}"
5 4
6# Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits 5# Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits
7KBRANCH ?= "xlnx_rebase_v5.15_LTS" 6KBRANCH ?= "xlnx_rebase_v5.15_LTS"
8SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" 7SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}"
9 8
10FILESOVERRIDES:append = ":${XILINX_RELEASE_VERSION}" 9FILESOVERRIDES:append := ":${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
11KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" 10KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine"
12YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" 11YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta"
13SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" 12SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}"