summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-07-31 15:57:04 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-07-31 15:57:04 +0000
commit0adc9ee1289b5437b6386a44060117a8a5207f01 (patch)
tree7ba68f2f9e90b93afcb5635272eb1c8fbf7ffaf0 /classes/base.bbclass
parent6bd781d384bb0741999927087ece0c58b85b57fc (diff)
base.bbclass: Remove warnings for older bitbake users
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index fec7622f18..5381d43e7b 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -892,6 +892,13 @@ python () {
base_after_parse(d)
}
+# Remove me when we switch to bitbake 1.8.8
+def base_get_srcrev(d):
+ import bb
+
+ if bb.fetch.get_srcrev:
+ return bb.fetch.get_srcrev(d)
+ return "NOT IMPLEMENTED"
# Patch handling
inherit patch