diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-20 12:56:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-13 10:31:20 +0100 |
commit | fa2724069ea7028939d816cb5ccd0e7c1bed09a1 (patch) | |
tree | 0d5fb00bfc1687f3ce30b0dff9a37cfc4d4a4ce0 | |
parent | 9a98851ef86adea3b05c4eb7c44e7ea3fbbb4420 (diff) | |
download | bitbake-contrib-fa2724069ea7028939d816cb5ccd0e7c1bed09a1.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/siggen.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index dcb1334e8..879c136e1 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -261,10 +261,6 @@ class SignatureGeneratorBasic(SignatureGenerator): bb.warn("Error during finalise of %s" % mcfn) raise - #Slow but can be useful for debugging mismatched basehashes - #for task in self.taskdeps[mcfn]: - # self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False) - basehashes = {} for task in taskdeps: basehashes[task] = self.basehash[mcfn + ":" + task] @@ -274,6 +270,11 @@ class SignatureGeneratorBasic(SignatureGenerator): d.setVar("__siggen_varvals", lookupcache) d.setVar("__siggen_taskdeps", taskdeps) + #Slow but can be useful for debugging mismatched basehashes + #self.setup_datacache_from_datastore(mcfn, d) + #for task in taskdeps: + # self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False) + def setup_datacache_from_datastore(self, mcfn, d): super().setup_datacache_from_datastore(mcfn, d) |