From: Denys Dmytriyenko <[email protected]>

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/[email protected]/

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 +
 1 file changed, 1 insertion(+)

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"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16617): 
https://lists.yoctoproject.org/g/meta-ti/message/16617
Mute This Topic: https://lists.yoctoproject.org/mt/99185909/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to