gitver.bbclass: add initial version.
authorChris Larson <clarson@kergoth.com>
Wed, 26 Aug 2009 10:59:25 +0000 (03:59 -0700)
committerChris Larson <clarson@kergoth.com>
Wed, 26 Aug 2009 11:00:51 +0000 (04:00 -0700)
commite5b751653cb17d60665a648c8f9aaeda028aa122
treef466e7a4d19ac623502694b3f1eb3ab4f13e4bd5
parent4dc61b382a9e13b3271c69ff6fcbf69432273172
gitver.bbclass: add initial version.

This provides a GITVER variable which is a (fairly) sane version, for use in
${PV}, extracted from the ${S} git checkout, assuming it is one.  This is most
useful in concert with srctree.bbclass.

Signed-off-by: Chris Larson <clarson@kergoth.com>
classes/gitver.bbclass [new file with mode: 0644]