diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/sstatesig.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index dd6b9de7bb..24577249ff 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
| @@ -108,7 +108,6 @@ class SignatureGeneratorOEBasicHashMixIn(object): | |||
| 108 | self.unlockedrecipes = (data.getVar("SIGGEN_UNLOCKED_RECIPES") or | 108 | self.unlockedrecipes = (data.getVar("SIGGEN_UNLOCKED_RECIPES") or |
| 109 | "").split() | 109 | "").split() |
| 110 | self.unlockedrecipes = { k: "" for k in self.unlockedrecipes } | 110 | self.unlockedrecipes = { k: "" for k in self.unlockedrecipes } |
| 111 | self.buildarch = data.getVar('BUILD_ARCH') | ||
| 112 | self._internal = False | 111 | self._internal = False |
| 113 | pass | 112 | pass |
| 114 | 113 | ||
| @@ -147,13 +146,6 @@ class SignatureGeneratorOEBasicHashMixIn(object): | |||
| 147 | self.dump_lockedsigs(sigfile) | 146 | self.dump_lockedsigs(sigfile) |
| 148 | return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options) | 147 | return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options) |
| 149 | 148 | ||
| 150 | def prep_taskhash(self, tid, deps, dataCaches): | ||
| 151 | super().prep_taskhash(tid, deps, dataCaches) | ||
| 152 | if hasattr(self, "extramethod"): | ||
| 153 | (mc, _, _, fn) = bb.runqueue.split_tid_mcfn(tid) | ||
| 154 | inherits = " ".join(dataCaches[mc].inherits[fn]) | ||
| 155 | if inherits.find("/native.bbclass") != -1 or inherits.find("/cross.bbclass") != -1: | ||
| 156 | self.extramethod[tid] = ":" + self.buildarch | ||
| 157 | 149 | ||
| 158 | def get_taskhash(self, tid, deps, dataCaches): | 150 | def get_taskhash(self, tid, deps, dataCaches): |
| 159 | if tid in self.lockedhashes: | 151 | if tid in self.lockedhashes: |
