diff options
Diffstat (limited to 'scripts/lib/checklayer/__init__.py')
| -rw-r--r-- | scripts/lib/checklayer/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index f91888ccbb..9713570841 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py | |||
| @@ -282,7 +282,7 @@ def check_command(error_msg, cmd, cwd=None): | |||
| 282 | raise RuntimeError(msg) | 282 | raise RuntimeError(msg) |
| 283 | return output | 283 | return output |
| 284 | 284 | ||
| 285 | def get_signatures(builddir, failsafe=False, machine=None): | 285 | def get_signatures(builddir, failsafe=False, machine=None, extravars=None): |
| 286 | import re | 286 | import re |
| 287 | 287 | ||
| 288 | # some recipes needs to be excluded like meta-world-pkgdata | 288 | # some recipes needs to be excluded like meta-world-pkgdata |
| @@ -294,6 +294,9 @@ def get_signatures(builddir, failsafe=False, machine=None): | |||
| 294 | tune2tasks = {} | 294 | tune2tasks = {} |
| 295 | 295 | ||
| 296 | cmd = 'BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" BB_SIGNATURE_HANDLER="OEBasicHash" ' | 296 | cmd = 'BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE BB_SIGNATURE_HANDLER" BB_SIGNATURE_HANDLER="OEBasicHash" ' |
| 297 | if extravars: | ||
| 298 | cmd += extravars | ||
| 299 | cmd += ' ' | ||
| 297 | if machine: | 300 | if machine: |
| 298 | cmd += 'MACHINE=%s ' % machine | 301 | cmd += 'MACHINE=%s ' % machine |
| 299 | cmd += 'bitbake ' | 302 | cmd += 'bitbake ' |
