summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2022-07-20 15:58:28 -0500
committerRyan Eatmon <reatmon@ti.com>2022-07-25 14:58:22 -0500
commit1e23cfaf6ee1f22b88455a1f83c299cde50adc37 (patch)
tree30effa10636cc989f5f725ba7b8d96a63bcaae0e /recipes-bsp/u-boot
parenta45a3d57860cc50f0d0d7b351c31d1a1ddf5c946 (diff)
downloadmeta-ti-1e23cfaf6ee1f22b88455a1f83c299cde50adc37.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>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index e7c93335..1f8fb6de 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/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"