diff options
Diffstat (limited to 'meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc')
-rw-r--r-- | meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc | 6 |
1 files changed, 3 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 adefabea..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 |
2 | XILINX_RELEASE_VERSION ?= "" | 2 | LINUX_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" |
3 | LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" | ||
4 | PV = "${LINUX_VERSION}+git${SRCPV}" | 3 | PV = "${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 |
7 | KBRANCH ?= "xlnx_rebase_v5.15_LTS" | 6 | KBRANCH ?= "xlnx_rebase_v5.15_LTS" |
8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" | 7 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" |
9 | 8 | ||
10 | FILESOVERRIDES:append = ":${XILINX_RELEASE_VERSION}" | 9 | FILESOVERRIDES:append := ":${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" |
11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" | 10 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" |
12 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" | 11 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" |
13 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" | 12 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" |
@@ -53,6 +52,7 @@ KBUILD_DEFCONFIG:zynqmp ?= "xilinx_defconfig" | |||
53 | KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" | 52 | KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" |
54 | KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" | 53 | KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" |
55 | KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" | 54 | KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" |
55 | KBUILD_DEFCONFIG:versal-net ?= "xilinx_versal_net_defconfig" | ||
56 | 56 | ||
57 | KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" | 57 | KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" |
58 | 58 | ||