diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-09-23 11:05:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:54:25 +0100 |
commit | 346784b24b154f9bb7d66c290bbfd9dcd2dbe7d0 (patch) | |
tree | cd0d2d8ebec9af61861fb4a7d22728259212e0cc /scripts/lib/devtool/runqemu.py | |
parent | 85d8b4a92fc7873a458a92a7d409bf73ff25c23b (diff) | |
download | poky-346784b24b154f9bb7d66c290bbfd9dcd2dbe7d0.tar.gz |
devtool: runqemu: avoid recipe parse
We only need the base configuration to get the variable values we want
to get here, there's no need to parse recipes / load the cache.
(From OE-Core rev: 84172ff7b325f081dba6430fd27f12e3745838b5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
-rw-r--r-- | scripts/lib/devtool/runqemu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/runqemu.py b/scripts/lib/devtool/runqemu.py index 4d08d8c3dd..5282afba68 100644 --- a/scripts/lib/devtool/runqemu.py +++ b/scripts/lib/devtool/runqemu.py | |||
@@ -29,7 +29,7 @@ logger = logging.getLogger('devtool') | |||
29 | def runqemu(args, config, basepath, workspace): | 29 | def runqemu(args, config, basepath, workspace): |
30 | """Entry point for the devtool 'runqemu' subcommand""" | 30 | """Entry point for the devtool 'runqemu' subcommand""" |
31 | 31 | ||
32 | tinfoil = setup_tinfoil(basepath=basepath) | 32 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) |
33 | machine = tinfoil.config_data.getVar('MACHINE', True) | 33 | machine = tinfoil.config_data.getVar('MACHINE', True) |
34 | bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE', True) | 34 | bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE', True) |
35 | tinfoil.shutdown() | 35 | tinfoil.shutdown() |