diff mbox series

[master/kirkstone,1/2] u-boot-ti: do_compile depends on the value of UBOOT_LOCALVERSION

Message ID 20230528173642.1074952-1-denis@denix.org
State Rejected
Delegated to: Ryan Eatmon
Headers show
Series [master/kirkstone,1/2] u-boot-ti: do_compile depends on the value of UBOOT_LOCALVERSION | expand

Commit Message

Denys Dmytriyenko May 28, 2023, 5:36 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

Explicitly mark do_compile as depending on the value of UBOOT_LOCALVERSION
variable. Similar patch was submitted to OE-Core for upstream version of
u-boot recipe:
https://patchwork.yoctoproject.org/project/oe-core/patch/20230528171515.832179-1-denis@denix.org/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 135f443b..4e645e4f 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,7 @@ 
 # UBOOT_LOCALVERSION can be set to add a tag to the end of the
 # U-boot version string.  such as the commit id
 UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
+do_compile[vardepvalue] = "${UBOOT_LOCALVERSION}"
 
 UBOOT_SUFFIX ?= "img"
 SPL_BINARY ?= "MLO"