[oe-commits] [openembedded-core] 29/43: qemu: use python2.7 instead of python2

git at git.openembedded.org git at git.openembedded.org
Sat Apr 8 21:49:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 88dc8b532817f4779b35422a413d5c700c130a74
Author: Martin Kelly <mkelly at xevo.com>
AuthorDate: Thu Apr 6 12:48:39 2017 -0700

    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 at xevo.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/qemu/qemu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 383cc64..0e1411a 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}'"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list