diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-11 17:04:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-16 13:53:17 +0100 |
commit | 3b0199828139a4a6d91bd317554dabdd94095576 (patch) | |
tree | aea8802d95f8b225f8f856aba32b1a7ba66cb892 /bitbake | |
parent | 00ec67b1eaa725f9d308c74e05f5d8c0d0e25a9f (diff) | |
download | poky-3b0199828139a4a6d91bd317554dabdd94095576.tar.gz |
bitbake: runqueue: Simplify some convoluted logic
This was left from when task IDs complicated the code, simplify.
(Bitbake rev: ae36b5c693bb9f13c88199e78e3c31616852eafb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index db0d852c54..48b668abc1 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1908,12 +1908,7 @@ class RunQueueExecute: | |||
1908 | if nexttask in self.sqdata.unskippable: | 1908 | if nexttask in self.sqdata.unskippable: |
1909 | logger.debug(2, "Setscene task %s is unskippable" % nexttask) | 1909 | logger.debug(2, "Setscene task %s is unskippable" % nexttask) |
1910 | if nexttask not in self.sqdata.unskippable and len(self.sqdata.sq_revdeps[nexttask]) > 0 and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]): | 1910 | if nexttask not in self.sqdata.unskippable and len(self.sqdata.sq_revdeps[nexttask]) > 0 and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]): |
1911 | fn = fn_from_tid(nexttask) | 1911 | if nexttask not in self.rqdata.target_tids: |
1912 | foundtarget = False | ||
1913 | |||
1914 | if nexttask in self.rqdata.target_tids: | ||
1915 | foundtarget = True | ||
1916 | if not foundtarget: | ||
1917 | logger.debug(2, "Skipping setscene for task %s" % nexttask) | 1912 | logger.debug(2, "Skipping setscene for task %s" % nexttask) |
1918 | self.sq_task_skip(nexttask) | 1913 | self.sq_task_skip(nexttask) |
1919 | self.scenequeue_notneeded.add(nexttask) | 1914 | self.scenequeue_notneeded.add(nexttask) |