aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-04-27 11:11:38 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-04-27 11:11:38 +0000
commit1310946bb0a71cd02b3aedd6fc53d0d082011941 (patch)
tree61d763656012b19d8afa300acd664e13104dcb31 /lib
parentf0b571546a47708a7e8ca75d21d3e8e6f84741f7 (diff)
downloadbitbake-1310946bb0a71cd02b3aedd6fc53d0d082011941.tar.gz
cooker.py: Reorder calls to avoid cache issues
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/cooker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index b56ecde4a..c92ad70a2 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -307,11 +307,11 @@ class BBCooker:
Create a dependency tree of pkgs_to_build, returning the data.
"""
- pkgs_to_build = self.checkPackages(pkgs_to_build)
-
# Need files parsed
self.updateCache()
+ pkgs_to_build = self.checkPackages(pkgs_to_build)
+
localdata = data.createCopy(self.configuration.data)
bb.data.update_data(localdata)
bb.data.expandKeys(localdata)
@@ -682,11 +682,11 @@ class BBCooker:
Attempt to build the targets specified
"""
- targets = self.checkPackages(targets)
-
# Need files parsed
self.updateCache()
+ targets = self.checkPackages(targets)
+
def buildTargetsIdle(server, rq, abort):
if abort or self.cookerAction == cookerStop: