diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/siggen.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 81027db265..3740c61dc6 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1468,6 +1468,7 @@ class BBCooker: | |||
1468 | self.updateCacheSync() | 1468 | self.updateCacheSync() |
1469 | 1469 | ||
1470 | if self.state != state.parsing and not self.parsecache_valid: | 1470 | if self.state != state.parsing and not self.parsecache_valid: |
1471 | bb.parse.siggen.reset(self.data) | ||
1471 | self.parseConfiguration () | 1472 | self.parseConfiguration () |
1472 | if CookerFeatures.SEND_SANITYEVENTS in self.featureset: | 1473 | if CookerFeatures.SEND_SANITYEVENTS in self.featureset: |
1473 | for mc in self.multiconfigs: | 1474 | for mc in self.multiconfigs: |
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index f71190ad4b..4380760e77 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -94,6 +94,9 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
94 | else: | 94 | else: |
95 | self.checksum_cache = None | 95 | self.checksum_cache = None |
96 | 96 | ||
97 | def reset(self, data): | ||
98 | self.__init__(data) | ||
99 | |||
97 | def init_rundepcheck(self, data): | 100 | def init_rundepcheck(self, data): |
98 | self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None | 101 | self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None |
99 | if self.taskwhitelist: | 102 | if self.taskwhitelist: |