From 7023f5431345e1613bc155be5a9560c8a88e8642 Mon Sep 17 00:00:00 2001 From: Mike Looijmans Date: Fri, 22 May 2015 08:29:05 +0200 Subject: 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 --- conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'conf') diff --git a/conf/bitbake.conf b/conf/bitbake.conf index a35219d18..5dafd5284 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')}" -- cgit 1.2.3-korg