summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-09 23:36:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-09 23:36:44 +0100
commit86437668370accb96855a78a250f7e8bf8c40f6c (patch)
tree9ef176d0a54b42c9e32f87377508b2b717632c9c /meta
parent1e71be8c9938bde7ce5fe6d9328e08b259eac570 (diff)
downloadopenembedded-core-86437668370accb96855a78a250f7e8bf8c40f6c.tar.gz
openembedded-core-86437668370accb96855a78a250f7e8bf8c40f6c.tar.bz2
openembedded-core-86437668370accb96855a78a250f7e8bf8c40f6c.zip
bitbake.conf: Add definition of SRCPV so git revisions can be incrementaly numbered. Influence for this comes from Openmoko.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 4c1b6f1fcd..b5ff2766b3 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -495,7 +495,8 @@ UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"
SRCDATE = "${DATE}"
SRCREV = "INVALID"
-AUTOREV = "${@bb.fetch.get_srcrev(d)}"
+AUTOREV = "${SRCPV}"
+SRCPV = "${@bb.fetch.get_srcrev(d)}"
SRC_URI = "file://${FILE}"