]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: runqemu: avoid recipe parse
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 23 Sep 2015 10:05:24 +0000 (11:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Sep 2015 21:07:19 +0000 (22:07 +0100)
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>
scripts/lib/devtool/runqemu.py

index 4d08d8c3dd53aeb9cdb3a2570d5993d847a150ef..5282afba68ec452b12434173b474b8764cc65133 100644 (file)
@@ -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()