summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc')
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc9
1 files changed, 6 insertions, 3 deletions
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 855307d9..2c0d4fc4 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,9 @@
1# UBOOT_LOCALVERSION can be set to add a tag to the end of the 1do_compile:prepend () {
2# U-boot version string. such as the commit id 2 scm_version=$(printf '%s%s' -ti-g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
3UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}" 3
4 echo ${scm_version} > ${B}/.scmversion
5 echo ${scm_version} > ${S}/.scmversion
6}
4 7
5UBOOT_SUFFIX ?= "img" 8UBOOT_SUFFIX ?= "img"
6SPL_BINARY ?= "MLO" 9SPL_BINARY ?= "MLO"