summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-23 11:05:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 22:07:19 +0100
commit84172ff7b325f081dba6430fd27f12e3745838b5 (patch)
tree632d62541d6805344a6bfa30cfe92ce7100728ad
parent05060699e63cd25d089e83e9aa56c11d5baa8fd8 (diff)
downloadopenembedded-core-contrib-84172ff7b325f081dba6430fd27f12e3745838b5.tar.gz
openembedded-core-contrib-84172ff7b325f081dba6430fd27f12e3745838b5.tar.bz2
openembedded-core-contrib-84172ff7b325f081dba6430fd27f12e3745838b5.zip
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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/devtool/runqemu.py2
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')
def runqemu(args, config, basepath, workspace):
"""Entry point for the devtool 'runqemu' subcommand"""
- tinfoil = setup_tinfoil(basepath=basepath)
+ tinfoil = setup_tinfoil(config_only=True, basepath=basepath)
machine = tinfoil.config_data.getVar('MACHINE', True)
bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE', True)
tinfoil.shutdown()