summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-20 12:56:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-13 10:32:02 +0100
commit29c0ba4bc8fb0544149aed19e1335c8bc676587d (patch)
tree53bb4bb78cfcd27c159b40d0b473b4a68318936a /bitbake
parentf75bfa87a1feb121aa2c186aa071fc2f9a44c8b7 (diff)
downloadpoky-29c0ba4bc8fb0544149aed19e1335c8bc676587d.tar.gz
bitbake: siggen: Update debug
The debug in the comments was out of date. It is still useful so update the code sample to the new code needed. (Bitbake rev: fa2724069ea7028939d816cb5ccd0e7c1bed09a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index dcb1334e8d..879c136e18 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -261,10 +261,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
261 bb.warn("Error during finalise of %s" % mcfn) 261 bb.warn("Error during finalise of %s" % mcfn)
262 raise 262 raise
263 263
264 #Slow but can be useful for debugging mismatched basehashes
265 #for task in self.taskdeps[mcfn]:
266 # self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False)
267
268 basehashes = {} 264 basehashes = {}
269 for task in taskdeps: 265 for task in taskdeps:
270 basehashes[task] = self.basehash[mcfn + ":" + task] 266 basehashes[task] = self.basehash[mcfn + ":" + task]
@@ -274,6 +270,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
274 d.setVar("__siggen_varvals", lookupcache) 270 d.setVar("__siggen_varvals", lookupcache)
275 d.setVar("__siggen_taskdeps", taskdeps) 271 d.setVar("__siggen_taskdeps", taskdeps)
276 272
273 #Slow but can be useful for debugging mismatched basehashes
274 #self.setup_datacache_from_datastore(mcfn, d)
275 #for task in taskdeps:
276 # self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False)
277
277 def setup_datacache_from_datastore(self, mcfn, d): 278 def setup_datacache_from_datastore(self, mcfn, d):
278 super().setup_datacache_from_datastore(mcfn, d) 279 super().setup_datacache_from_datastore(mcfn, d)
279 280