diff mbox series

[master/kirkstone,2/2] kernel: setup-defconfig: do_configure depends on the value of KERNEL_LOCALVERSION

Message ID 20230528173642.1074952-2-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_configure as depending on the value of KERNEL_LOCALVERSION
variable. This is similar to the U-boot change submitted to OE-Core:
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-kernel/linux/setup-defconfig.inc | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
index df7d9ac8..bbdf30a2 100644
--- a/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc
@@ -1,6 +1,7 @@ 
 # KERNEL_LOCALVERSION can be set to add a tag to the end of the
 # kernel version string.  such as the commit id
 KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
+do_configure[vardepvalue] = "${KERNEL_LOCALVERSION}"
 
 # Check the defconfig file and see if it points to an in kernel
 # defconfig that should be used, or if it is a complete config file