diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 38a8209760..619791f174 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -473,11 +473,11 @@ class BBCooker: | |||
473 | 473 | ||
474 | # Load data into the cache for fn | 474 | # Load data into the cache for fn |
475 | self.bb_cache = bb.cache.init(self) | 475 | self.bb_cache = bb.cache.init(self) |
476 | self.bb_cache.loadData(fn, self.configuration.data) | 476 | self.bb_cache.loadData(fn, self.configuration.data) |
477 | 477 | ||
478 | # Parse the loaded cache data | 478 | # Parse the loaded cache data |
479 | self.status = bb.cache.CacheData() | 479 | self.status = bb.cache.CacheData() |
480 | self.bb_cache.handle_data(fn, self.status) | 480 | self.bb_cache.handle_data(fn, self.status) |
481 | 481 | ||
482 | # Tweak some variables | 482 | # Tweak some variables |
483 | item = self.bb_cache.getVar('PN', fn, True) | 483 | item = self.bb_cache.getVar('PN', fn, True) |
@@ -493,7 +493,7 @@ class BBCooker: | |||
493 | # Remove stamp for target if force mode active | 493 | # Remove stamp for target if force mode active |
494 | if self.configuration.force: | 494 | if self.configuration.force: |
495 | bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (self.configuration.cmd, fn)) | 495 | bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (self.configuration.cmd, fn)) |
496 | bb.build.del_stamp('do_%s' % self.configuration.cmd, bbfile_data) | 496 | bb.build.del_stamp('do_%s' % self.configuration.cmd, self.configuration.data) |
497 | 497 | ||
498 | # Setup taskdata structure | 498 | # Setup taskdata structure |
499 | taskdata = bb.taskdata.TaskData(self.configuration.abort) | 499 | taskdata = bb.taskdata.TaskData(self.configuration.abort) |
@@ -573,6 +573,7 @@ class BBCooker: | |||
573 | 573 | ||
574 | bb.msg.debug(1, bb.msg.domain.Collection, "collecting .bb files") | 574 | bb.msg.debug(1, bb.msg.domain.Collection, "collecting .bb files") |
575 | (filelist, masked) = self.collect_bbfiles() | 575 | (filelist, masked) = self.collect_bbfiles() |
576 | bb.data.renameVar("__depends", "__base_depends", self.configuration.data) | ||
576 | self.parse_bbfiles(filelist, masked, self.myProgressCallback) | 577 | self.parse_bbfiles(filelist, masked, self.myProgressCallback) |
577 | bb.msg.debug(1, bb.msg.domain.Collection, "parsing complete") | 578 | bb.msg.debug(1, bb.msg.domain.Collection, "parsing complete") |
578 | 579 | ||