summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-06 12:20:33 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-06 12:20:33 +0000
commita59935fb3a7260e2be7769a783ac907a1d73e699 (patch)
treea934d7aeed853a7a01fbba3258beda187b962d08 /bitbake/lib/bb/runqueue.py
parent87c2b700bedf659b0e54ac16f9638f0461688dc9 (diff)
downloadpoky-a59935fb3a7260e2be7769a783ac907a1d73e699.tar.gz
bitbake/siggen: Allow siggen code to control final stampfile format
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 0a319d2c42..848dccac34 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -880,7 +880,9 @@ class RunQueue:
880 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]] 880 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
881 if taskname is None: 881 if taskname is None:
882 taskname = self.rqdata.runq_task[task] 882 taskname = self.rqdata.runq_task[task]
883 stampfile = "%s.%s" % (self.rqdata.dataCache.stamp[fn], taskname) 883
884 stampfile = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn], taskname, self.rqdata.runq_hash[task])
885
884 # If the stamp is missing its not current 886 # If the stamp is missing its not current
885 if not os.access(stampfile, os.F_OK): 887 if not os.access(stampfile, os.F_OK):
886 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stampfile %s not available\n" % stampfile) 888 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stampfile %s not available\n" % stampfile)
@@ -900,9 +902,10 @@ class RunQueue:
900 if iscurrent: 902 if iscurrent:
901 fn2 = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[dep]] 903 fn2 = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[dep]]
902 taskname2 = self.rqdata.runq_task[dep] 904 taskname2 = self.rqdata.runq_task[dep]
903 stampfile2 = "%s.%s" % (self.rqdata.dataCache.stamp[fn2], taskname2) 905 stampfile2 = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn2], taskname2, self.rqdata.runq_hash[dep])
906 stampfile3 = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn2], taskname2 + "_setscene", self.rqdata.runq_hash[dep])
904 t2 = get_timestamp(stampfile2) 907 t2 = get_timestamp(stampfile2)
905 t3 = get_timestamp(stampfile2 + "_setscene") 908 t3 = get_timestamp(stampfile3)
906 if t3 and t3 > t2: 909 if t3 and t3 > t2:
907 continue 910 continue
908 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist): 911 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist):