summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2017-04-06 12:48:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-08 22:48:06 +0100
commit88dc8b532817f4779b35422a413d5c700c130a74 (patch)
tree4a4adc3568fa34f349c4ec87edd0f8acf445f967 /meta/recipes-devtools
parent2fe8f39b5f5e7390cc46f8cb47c2503b3c5f78e2 (diff)
downloadopenembedded-core-88dc8b532817f4779b35422a413d5c700c130a74.tar.gz
openembedded-core-88dc8b532817f4779b35422a413d5c700c130a74.tar.bz2
openembedded-core-88dc8b532817f4779b35422a413d5c700c130a74.zip
qemu: use python2.7 instead of python2
meta/conf/bitbake.conf puts python2.7 into the HOSTTOOLS variable but not python2, so only python2.7 is guaranteed. In addition, on some distros -- such as Amazon Linux -- /usr/bin/python2 doesn't exist but python2.7 does. So, use python2.7 for the --python= argument in the qemu configure step. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 383cc64762..0e1411af64 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -29,7 +29,7 @@ EXTRA_OECONF = " \
--with-system-pixman \
--extra-cflags='${CFLAGS}' \
"
-EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2"
+EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2.7"
EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"