diff options
author | Martin Kelly <mkelly@xevo.com> | 2017-04-06 12:48:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | e340af0449db5794096f2abb966c9ba314f88452 (patch) | |
tree | 252183e181cda12ef79f2c75db6ad5250fdc479b /meta | |
parent | 4d1b21fd6dc2aee75712117df41ab41041d1f735 (diff) | |
download | poky-e340af0449db5794096f2abb966c9ba314f88452.tar.gz |
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.
(From OE-Core rev: 88dc8b532817f4779b35422a413d5c700c130a74)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
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 = " \ | |||
29 | --with-system-pixman \ | 29 | --with-system-pixman \ |
30 | --extra-cflags='${CFLAGS}' \ | 30 | --extra-cflags='${CFLAGS}' \ |
31 | " | 31 | " |
32 | EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2" | 32 | EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2.7" |
33 | 33 | ||
34 | EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" | 34 | EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" |
35 | 35 | ||