diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 20187f321..cce5da405 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -463,9 +463,10 @@ class RunQueue: for task in range(len(self.runq_fnid)): fnid = self.runq_fnid[task] if fnid not in reccumdepends: - reccumdepends[fnid] = set() if fnid in tdepends_fnid: - reccumdepends[fnid].update(tdepends_fnid[fnid]) + reccumdepends[fnid] = tdepends_fnid[fnid] + else: + reccumdepends[fnid] = set() reccumdepends[fnid].update(self.runq_depends[task]) for task in range(len(self.runq_fnid)): taskfnid = self.runq_fnid[task] |