summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2015-05-22 08:29:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-23 08:14:28 +0100
commit7023f5431345e1613bc155be5a9560c8a88e8642 (patch)
tree98b0aa3361637f30d8f1dc1fe5b86c9e4816ddf2 /conf
parent989c08f62aff7b707c25c692c23284f16506b7bc (diff)
downloadbitbake-contrib-7023f5431345e1613bc155be5a9560c8a88e8642.tar.gz
bitbake-contrib-7023f5431345e1613bc155be5a9560c8a88e8642.tar.bz2
bitbake-contrib-7023f5431345e1613bc155be5a9560c8a88e8642.zip
bitbake.conf: Set GITPKGV variable
Set GITPKGV to mimic the meta-openembedded 'gitpkgv' class. This allows a recipe to simply set: PKGV="1.2+${GITPKGV}" And no longer needs to inherit gitpkgv class. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index a35219d183..5dafd52849 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -47,3 +47,4 @@ TARGET_ARCH = "${BUILD_ARCH}"
TMPDIR = "${TOPDIR}/tmp"
WORKDIR = "${TMPDIR}/work/${PF}"
PERSISTENT_DIR = "${TMPDIR}/cache"
+GITPKGV = "${@bb.fetch2.get_srcrev(d, 'gitpkgv_revision')}"