summaryrefslogtreecommitdiff
path: root/meta/classes/siteinfo.bbclass
diff options
context:
space:
mode:
authorChase Maupin <Chase.Maupin@ti.com>2013-04-11 08:03:13 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-22 14:43:42 +0100
commit566298409408c6103f7a9871bb13ae5449c4fd64 (patch)
tree61d90d8f6015c8afc1efcf1290d1e4aae807a075 /meta/classes/siteinfo.bbclass
parentc5de114f63fe3d60a48622ec5be8fa34ce177191 (diff)
downloadopenembedded-core-566298409408c6103f7a9871bb13ae5449c4fd64.tar.gz
openembedded-core-566298409408c6103f7a9871bb13ae5449c4fd64.tar.bz2
openembedded-core-566298409408c6103f7a9871bb13ae5449c4fd64.zip
u-boot: Add UBOOT_LOCALVERSION to control version string
* Add a variable called UBOOT_LOCALVERSION which when set will place a version string in the .scmversion file of the u-boot sources. This string will be picked up by the u-boot Makefile and will be appended to the u-boot version. This is done to make it easier to identify what revision of the u-boot sources are being run. For example you can use a setting like the following to add the short commit id to the u-boot version string: UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}" Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
0 files changed, 0 insertions, 0 deletions