diff options
author | brian avery <brian.avery@intel.com> | 2017-04-04 16:23:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-05 23:22:12 +0100 |
commit | 0ffc7b8d2e72265a5a206cd3229112566d96d2f9 (patch) | |
tree | 1eeb999694297a13fd616750d7735d4f028c8ba0 /scripts/lib | |
parent | 83e6eb613d8d36129a476132bf2485c7c682afc4 (diff) | |
download | poky-0ffc7b8d2e72265a5a206cd3229112566d96d2f9.tar.gz |
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-<arch>. In the post RSS world, this no
longer exists. This patch points it to
{STAGING_DIR}/{BUILD_ARCH}/{bindir_native}.
[YOCTO #11223]
(From OE-Core rev: 1910f9e9336bfedc8278a3bc02e7e7f934a4fc86)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/runqemu.py | 4 |
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): | |||
32 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) | 32 | tinfoil = setup_tinfoil(config_only=True, basepath=basepath) |
33 | try: | 33 | try: |
34 | machine = tinfoil.config_data.getVar('MACHINE') | 34 | machine = tinfoil.config_data.getVar('MACHINE') |
35 | bindir_native = tinfoil.config_data.getVar('STAGING_BINDIR_NATIVE') | 35 | bindir_native = os.path.join(tinfoil.config_data.getVar('STAGING_DIR'), |
36 | tinfoil.config_data.getVar('BUILD_ARCH'), | ||
37 | tinfoil.config_data.getVar('bindir_native').lstrip(os.path.sep)) | ||
36 | finally: | 38 | finally: |
37 | tinfoil.shutdown() | 39 | tinfoil.shutdown() |
38 | 40 | ||