[OE-core] [PATCH v2 3/3] bitbake.conf: Set GITPKGV variable
Mike Looijmans
mike.looijmans at topic.nl
Fri May 22 06:29:05 UTC 2015
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.
---
conf/bitbake.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index a35219d..5dafd52 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')}"
--
1.9.1
More information about the Openembedded-core
mailing list