summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2022-09-13 03:55:27 +0000
committerRyan Eatmon <reatmon@ti.com>2022-09-22 11:23:07 -0500
commitc36d687a7baca11d3034fedc718322c41a524c0e (patch)
treeef5c0d8d61865459eaa89378f2c2827288735064 /meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
parent5eca63d1de88589855ba599d8e89aedf701cc69c (diff)
downloadmeta-ti-c36d687a7baca11d3034fedc718322c41a524c0e.tar.gz
kernel u-boot: Fix formulation of LOCALVERSION
devtool does not work with the current formulation of the LOCALVERSION variables. We need to use SRCPV to avoid AUTOREV on bleeding builds, but there will be no + in the string, so we cannot split on that. Just use SRCPV directly. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc')
-rw-r--r--meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
index 1e97acc0..df7d9ac8 100644
--- a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
@@ -1,6 +1,6 @@
1# KERNEL_LOCALVERSION can be set to add a tag to the end of the 1# KERNEL_LOCALVERSION can be set to add a tag to the end of the
2# kernel version string. such as the commit id 2# kernel version string. such as the commit id
3KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).split('+')[1]}" 3KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
4 4
5# Check the defconfig file and see if it points to an in kernel 5# Check the defconfig file and see if it points to an in kernel
6# defconfig that should be used, or if it is a complete config file 6# defconfig that should be used, or if it is a complete config file