diff options
author | Ryan Eatmon <reatmon@ti.com> | 2022-09-13 03:55:27 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-09-22 11:23:07 -0500 |
commit | c36d687a7baca11d3034fedc718322c41a524c0e (patch) | |
tree | ef5c0d8d61865459eaa89378f2c2827288735064 /meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc | |
parent | 5eca63d1de88589855ba599d8e89aedf701cc69c (diff) | |
download | meta-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.inc | 2 |
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 |
3 | KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).split('+')[1]}" | 3 | KERNEL_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 |