diff options
Diffstat (limited to 'scripts/lib/compatlayer/__init__.py')
-rw-r--r-- | scripts/lib/compatlayer/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/lib/compatlayer/__init__.py b/scripts/lib/compatlayer/__init__.py index 6130b8548c..0d6f4e9c3b 100644 --- a/scripts/lib/compatlayer/__init__.py +++ b/scripts/lib/compatlayer/__init__.py | |||
@@ -215,7 +215,7 @@ def check_command(error_msg, cmd): | |||
215 | raise RuntimeError(msg) | 215 | raise RuntimeError(msg) |
216 | return output | 216 | return output |
217 | 217 | ||
218 | def get_signatures(builddir, failsafe=False): | 218 | def get_signatures(builddir, failsafe=False, machine=None): |
219 | import re | 219 | import re |
220 | 220 | ||
221 | # some recipes needs to be excluded like meta-world-pkgdata | 221 | # some recipes needs to be excluded like meta-world-pkgdata |
@@ -226,7 +226,10 @@ def get_signatures(builddir, failsafe=False): | |||
226 | sigs = {} | 226 | sigs = {} |
227 | tune2tasks = {} | 227 | tune2tasks = {} |
228 | 228 | ||
229 | cmd = 'bitbake ' | 229 | cmd = '' |
230 | if machine: | ||
231 | cmd += 'MACHINE=%s ' % machine | ||
232 | cmd += 'bitbake ' | ||
230 | if failsafe: | 233 | if failsafe: |
231 | cmd += '-k ' | 234 | cmd += '-k ' |
232 | cmd += '-S none world' | 235 | cmd += '-S none world' |