]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-arago-glsdk.git/commitdiff
u-boot-ti-staging: use UBOOT_LOCALVERSION to add version string
authorChase Maupin <Chase.Maupin@ti.com>
Fri, 12 Apr 2013 20:58:02 +0000 (15:58 -0500)
committerDenys Dmytriyenko <denys@ti.com>
Thu, 18 Apr 2013 00:47:59 +0000 (20:47 -0400)
* Use the UBOOT_LOCALVERSION variable to add the commit id to
  the u-boot version string.  This makes it easier to identify
  the version of the running u-boot.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
meta-arago-distro/recipes-bsp/u-boot/u-boot-ti-staging_2013.01.01.bbappend

index 35f25b1da6663ee1139cc1c8fe3525cbaf8347fc..47a29714dc0fee6286f25f36511e5fd51f503fbf 100644 (file)
@@ -1,3 +1,5 @@
-PR_append = "-arago1"
+PR_append = "-arago2"
 
 SRCREV = "${AUTOREV}"
+
+UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"