u-boot-ti: do_compile depends on the value of UBOOT_LOCALVERSION
PATCH 1/2 u-boot-ti: do_compile depends on the value of UBOOT_LOCALVERSION
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(+)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +1 -0
@@ -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"
Signature · 1 line
2.25.1
PATCH 2/2 kernel: setup-defconfig: do_configure depends on the value of KERNEL_LOCALVERSION
From: Denys Dmytriyenko <[email protected]>
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/[email protected]/
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc | 1 + 1 file changed, 1 insertion(+)
meta-ti-bsp/recipes-kernel/linux/setup-defconfig.inc +1 -0
@@ -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
Signature · 1 line
2.25.1