aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/gitver.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/gitver.bbclass b/classes/gitver.bbclass
index b67a017dcd..3edb273eaf 100644
--- a/classes/gitver.bbclass
+++ b/classes/gitver.bbclass
@@ -6,7 +6,8 @@
# This is most useful in concert with srctree.bbclass.
-GITVER = "${@get_git_pv('${S}', d)}"
+GIT_TAGADJUST = "version"
+GITVER = "${@get_git_pv('${S}', d, tagadjust=lambda version:${GIT_TAGADJUST})}"
def get_git_pv(path, d, tagadjust=None):
import os