summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2006-10-03 22:39:12 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2006-10-03 22:39:12 +0000
commitdd853767e178ea6ac854459ba103ff92637662b3 (patch)
tree4e8f1a987aa76f273e22a1bd9d1d0d631497143e /bin
parentf1252d5dab221b267716f09c969ff34e9af711ed (diff)
downloadbitbake-contrib-dd853767e178ea6ac854459ba103ff92637662b3.tar.gz
cache.py: Stop passing cooker around as its no longer needed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 103aef3b7..08a9ed05c 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -124,7 +124,7 @@ class BBCooker:
If build_depends is empty, we're dealing with a runtime depends
"""
- the_data = self.bb_cache.loadDataFull(fn, self)
+ the_data = self.bb_cache.loadDataFull(fn, self.configuration.data)
item = self.status.pkg_fn[fn]
@@ -167,7 +167,7 @@ class BBCooker:
self.cb = None
self.bb_cache = bb.cache.init(self)
try:
- self.configuration.data = self.bb_cache.loadDataFull(self.configuration.buildfile, self)
+ self.configuration.data = self.bb_cache.loadDataFull(self.configuration.buildfile, self.configuration.data)
except IOError, e:
bb.msg.fatal(bb.msg.domain.Parsing, "Unable to read %s: %s" % ( self.configuration.buildfile, e ))
except Exception, e:
@@ -719,7 +719,7 @@ class BBCooker:
# read a file's metadata
try:
- fromCache, skip = self.bb_cache.loadData(f, self)
+ fromCache, skip = self.bb_cache.loadData(f, self.configuration.data)
if skip:
skipped += 1
bb.msg.debug(2, bb.msg.domain.Collection, "skipping %s" % f)