diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-07-06 10:42:00 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-09 11:26:56 +0100 |
commit | 9b034e9a83a58077519ba57ced482662f973a467 (patch) | |
tree | 747e613733db5b422608b28b8ff7e6b911874b33 /bitbake/lib | |
parent | 53d1027625e007de63b4a94dcb957ebffd74b152 (diff) | |
download | poky-9b034e9a83a58077519ba57ced482662f973a467.tar.gz |
bitbake: runqueue: Stop on first unsatisfied dependency
(Bitbake rev: 9876b5da1c65bf09a790542cb4057f2d93868cf7)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 8ce9ad5189..ba9bebebcf 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1886,11 +1886,12 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
1886 | continue | 1886 | continue |
1887 | if revdep in self.runq_buildable: | 1887 | if revdep in self.runq_buildable: |
1888 | continue | 1888 | continue |
1889 | alldeps = 1 | 1889 | alldeps = True |
1890 | for dep in self.rqdata.runtaskentries[revdep].depends: | 1890 | for dep in self.rqdata.runtaskentries[revdep].depends: |
1891 | if dep not in self.runq_complete: | 1891 | if dep not in self.runq_complete: |
1892 | alldeps = 0 | 1892 | alldeps = False |
1893 | if alldeps == 1: | 1893 | break |
1894 | if alldeps: | ||
1894 | self.setbuildable(revdep) | 1895 | self.setbuildable(revdep) |
1895 | logger.debug(1, "Marking task %s as buildable", revdep) | 1896 | logger.debug(1, "Marking task %s as buildable", revdep) |
1896 | 1897 | ||