summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2014-08-12 04:53:16 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-19 20:41:26 +0100
commit34436672f3ef4915e7526770a0fa8dcff328f93d (patch)
treef99fae4a88ace62e2affc7bacc7caf320f49056d /bitbake
parent02455ebfbb1e738e6b1fe57cb6a9b9012829ee31 (diff)
downloadpoky-34436672f3ef4915e7526770a0fa8dcff328f93d.tar.gz
bitbake: runqueue.py: Fix typoes/grammar in comments.
(Bitbake rev: 000fa81013205dd9bc907ff7a61f06f57637212d) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/runqueue.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 46dca58015..e13dc57ae8 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -97,7 +97,7 @@ class RunQueueScheduler(object):
97 def __init__(self, runqueue, rqdata): 97 def __init__(self, runqueue, rqdata):
98 """ 98 """
99 The default scheduler just returns the first buildable task (the 99 The default scheduler just returns the first buildable task (the
100 priority map is sorted by task numer) 100 priority map is sorted by task number)
101 """ 101 """
102 self.rq = runqueue 102 self.rq = runqueue
103 self.rqdata = rqdata 103 self.rqdata = rqdata
@@ -186,7 +186,7 @@ class RunQueueSchedulerCompletion(RunQueueSchedulerSpeed):
186 """ 186 """
187 A scheduler optimised to complete .bb files are quickly as possible. The 187 A scheduler optimised to complete .bb files are quickly as possible. The
188 priority map is sorted by task weight, but then reordered so once a given 188 priority map is sorted by task weight, but then reordered so once a given
189 .bb file starts to build, its completed as quickly as possible. This works 189 .bb file starts to build, it's completed as quickly as possible. This works
190 well where disk space is at a premium and classes like OE's rm_work are in 190 well where disk space is at a premium and classes like OE's rm_work are in
191 force. 191 force.
192 """ 192 """
@@ -795,7 +795,7 @@ class RunQueueData:
795 for st in self.cooker.configuration.invalidate_stamp.split(','): 795 for st in self.cooker.configuration.invalidate_stamp.split(','):
796 invalidate_task(fn, "do_%s" % st, True) 796 invalidate_task(fn, "do_%s" % st, True)
797 797
798 # Interate over the task list and call into the siggen code 798 # Iterate over the task list and call into the siggen code
799 dealtwith = set() 799 dealtwith = set()
800 todeal = set(range(len(self.runq_fnid))) 800 todeal = set(range(len(self.runq_fnid)))
801 while len(todeal) > 0: 801 while len(todeal) > 0:
@@ -967,11 +967,11 @@ class RunQueue:
967 967
968 stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn) 968 stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
969 969
970 # If the stamp is missing its not current 970 # If the stamp is missing, it's not current
971 if not os.access(stampfile, os.F_OK): 971 if not os.access(stampfile, os.F_OK):
972 logger.debug(2, "Stampfile %s not available", stampfile) 972 logger.debug(2, "Stampfile %s not available", stampfile)
973 return False 973 return False
974 # If its a 'nostamp' task, it's not current 974 # If it's a 'nostamp' task, it's not current
975 taskdep = self.rqdata.dataCache.task_deps[fn] 975 taskdep = self.rqdata.dataCache.task_deps[fn]
976 if 'nostamp' in taskdep and taskname in taskdep['nostamp']: 976 if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
977 logger.debug(2, "%s.%s is nostamp\n", fn, taskname) 977 logger.debug(2, "%s.%s is nostamp\n", fn, taskname)
@@ -1688,7 +1688,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1688 1688
1689 process_endpoints(endpoints) 1689 process_endpoints(endpoints)
1690 1690
1691 # Build a list of setscene tasks which as "unskippable" 1691 # Build a list of setscene tasks which are "unskippable"
1692 # These are direct endpoints referenced by the build 1692 # These are direct endpoints referenced by the build
1693 endpoints2 = {} 1693 endpoints2 = {}
1694 sq_revdeps2 = [] 1694 sq_revdeps2 = []