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-bsp/u-boot | |
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-bsp/u-boot')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index f470c95e..7a22161d 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | # UBOOT_LOCALVERSION can be set to add a tag to the end of the | 1 | # UBOOT_LOCALVERSION can be set to add a tag to the end of the |
2 | # U-boot version string. such as the commit id | 2 | # U-boot version string. such as the commit id |
3 | UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).split('+')[1]}" | 3 | UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}" |
4 | 4 | ||
5 | UBOOT_SUFFIX ?= "img" | 5 | UBOOT_SUFFIX ?= "img" |
6 | SPL_BINARY ?= "MLO" | 6 | SPL_BINARY ?= "MLO" |