aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-07-06 10:42:00 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-09 11:26:51 +0100
commit9876b5da1c65bf09a790542cb4057f2d93868cf7 (patch)
tree1e389e1ec79c28c441205d672c7072f627373679
parent91e5540f53aca93e3489255cfd95feaa0afd0498 (diff)
downloadbitbake-master.zip
bitbake-master.tar.gz
bitbake-master.tar.bz2
runqueue: Stop on first unsatisfied dependencyHEADmaster-nextmaster
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 8ce9ad5..ba9bebe 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1886,11 +1886,12 @@ class RunQueueExecuteTasks(RunQueueExecute):
continue
if revdep in self.runq_buildable:
continue
- alldeps = 1
+ alldeps = True
for dep in self.rqdata.runtaskentries[revdep].depends:
if dep not in self.runq_complete:
- alldeps = 0
- if alldeps == 1:
+ alldeps = False
+ break
+ if alldeps:
self.setbuildable(revdep)
logger.debug(1, "Marking task %s as buildable", revdep)