diff options
author | Richard Purdie <richard@openedhand.com> | 2007-02-21 20:15:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-02-21 20:15:13 +0000 |
commit | 23ce7821a34a3375d94efa1a06228cc7e01dff45 (patch) | |
tree | 95f0d166bc723c5c96f0418b37140349ef513519 | |
parent | 56a65b34e8d66ccea4e3afe074c2a91007c0a85a (diff) | |
download | openembedded-core-23ce7821a34a3375d94efa1a06228cc7e01dff45.tar.gz openembedded-core-23ce7821a34a3375d94efa1a06228cc7e01dff45.tar.bz2 openembedded-core-23ce7821a34a3375d94efa1a06228cc7e01dff45.tar.xz openembedded-core-23ce7821a34a3375d94efa1a06228cc7e01dff45.zip |
bitbake: merge upstream fixes and fix bug in recrdeptask handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1282 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 2ef2670da..ec94b0f8b 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -152,9 +152,9 @@ class RunQueue: # Resolve Recursive Runtime Depends # Also includes all Build Depends (and their runtime depends) if 'recrdeptask' in task_deps and taskData.tasks_name[task] in task_deps['recrdeptask']: - dep_seen = [] - rdep_seen = [] for taskname in task_deps['recrdeptask'][taskData.tasks_name[task]].split(): + dep_seen = [] + rdep_seen = [] for depid in taskData.depids[fnid]: add_recursive_build(depid) for rdepid in taskData.rdepids[fnid]: @@ -203,6 +203,9 @@ class RunQueue: if targetid not in taskData.build_targets: continue + if targetid in taskData.failed_deps: + continue + fnid = taskData.build_targets[targetid][0] # Remove stamps for targets if force mode active @@ -211,9 +214,6 @@ class RunQueue: bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (target[1], fn)) bb.build.del_stamp(target[1], dataCache, fn) - if targetid in taskData.failed_deps: - continue - if fnid in taskData.failed_fnids: continue @@ -347,7 +347,7 @@ class RunQueue: taskData.fail_fnid(fnid) failures = failures + 1 self.reset_runqueue() - self.prepare_runqueue(cfgData, dataCache, taskData, runlist) + self.prepare_runqueue(cooker, cfgData, dataCache, taskData, runlist) def execute_runqueue_internal(self, cooker, cfgData, dataCache, taskData): """ @@ -369,7 +369,7 @@ class RunQueue: if len(self.runq_fnid) == 0: # nothing to do - return + return [] def sigint_handler(signum, frame): raise KeyboardInterrupt |