summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 11:39:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 11:39:43 +0100
commitf370961b61be2e2be4e7b33c446d71c0693ca16b (patch)
tree725dd2f4b8ca9598a99a6024ccd792ca34214ddd /meta/conf
parentbb1442aaf089040312de383228bbf72c608ef02a (diff)
downloadopenembedded-core-f370961b61be2e2be4e7b33c446d71c0693ca16b.tar.gz
openembedded-core-f370961b61be2e2be4e7b33c446d71c0693ca16b.tar.bz2
openembedded-core-f370961b61be2e2be4e7b33c446d71c0693ca16b.zip
bitbake.conf: Only very weakly assign SRCREV to the default of INVALID
This means it can easily be overridden by other points in the code, such as a ?= assignment in recipes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2e4a76d2c2..c2a072a329 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -522,7 +522,7 @@ UPDATECOMMAND = "ERROR, this must be a BitBake bug"
UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"
SRCDATE = "${DATE}"
-SRCREV = "INVALID"
+SRCREV ??= "INVALID"
AUTOREV = "${@bb.fetch2.get_autorev(d)}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"