gitver: add GITSHA variable
authorChris Larson <chris_larson@mentor.com>
Thu, 28 Oct 2010 00:22:38 +0000 (17:22 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 28 Oct 2010 00:24:20 +0000 (17:24 -0700)
commit8264858d8c038030dcbd713cfad1f564c10e1e84
tree79d2dda7d721cb31b6918c54fce950830beb1482
parent1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c
gitver: add GITSHA variable

There's a case where git describe produces output which is not pleasant, to
put it mildly, and it's better to just set PV to "0.0+${GITSHA}" or similar,
including the short form of the commit hash for HEAD.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/gitver.bbclass