mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
f75bfa87a1
commit
29c0ba4bc8
|
@ -261,10 +261,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
bb.warn("Error during finalise of %s" % mcfn)
|
bb.warn("Error during finalise of %s" % mcfn)
|
||||||
raise
|
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 = {}
|
basehashes = {}
|
||||||
for task in taskdeps:
|
for task in taskdeps:
|
||||||
basehashes[task] = self.basehash[mcfn + ":" + task]
|
basehashes[task] = self.basehash[mcfn + ":" + task]
|
||||||
|
@ -274,6 +270,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
|
||||||
d.setVar("__siggen_varvals", lookupcache)
|
d.setVar("__siggen_varvals", lookupcache)
|
||||||
d.setVar("__siggen_taskdeps", taskdeps)
|
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):
|
def setup_datacache_from_datastore(self, mcfn, d):
|
||||||
super().setup_datacache_from_datastore(mcfn, d)
|
super().setup_datacache_from_datastore(mcfn, d)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user