summaryrefslogtreecommitdiff
path: root/scripts/lib/devtool/runqemu.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
-rw-r--r--scripts/lib/devtool/runqemu.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/devtool/runqemu.py b/scripts/lib/devtool/runqemu.py
index 641664e565..e26cf28c2f 100644
--- a/scripts/lib/devtool/runqemu.py
+++ b/scripts/lib/devtool/runqemu.py
@@ -32,7 +32,9 @@ def runqemu(args, config, basepath, workspace):
tinfoil = setup_tinfoil(config_only=True, basepath=basepath)
try:
machine = tinfoil.config_data.getVar('MACHINE')
- bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE')
+ bindir_native = os.path.join(tinfoil.config_data.getVar('STAGING_DIR'),
+ tinfoil.config_data.getVar('BUILD_ARCH'),
+ tinfoil.config_data.getVar('bindir_native').lstrip(os.path.sep))
finally:
tinfoil.shutdown()