summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.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-bsp/u-boot/u-boot-ti.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-bsp/u-boot/u-boot-ti.inc')
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc2
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
3UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).split('+')[1]}" 3UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
4 4
5UBOOT_SUFFIX ?= "img" 5UBOOT_SUFFIX ?= "img"
6SPL_BINARY ?= "MLO" 6SPL_BINARY ?= "MLO"