From 1910f9e9336bfedc8278a3bc02e7e7f934a4fc86 Mon Sep 17 00:00:00 2001 From: brian avery Date: Tue, 4 Apr 2017 16:23:24 -0700 Subject: devtool: point runqemu to correct native bindir devtool/runqemu.py was relying on STAGING_BINDIR_NATIVE to find the host tools it needed like qemu-system-. In the post RSS world, this no longer exists. This patch points it to {STAGING_DIR}/{BUILD_ARCH}/{bindir_native}. [YOCTO #11223] Signed-off-by: brian avery Signed-off-by: Richard Purdie --- scripts/lib/devtool/runqemu.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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() -- cgit v1.2.3