[oe-commits] [openembedded-core] 09/15: qemu: do not hardcode python2.7 path

git at git.openembedded.org git at git.openembedded.org
Tue Apr 3 10:11:10 UTC 2018


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 a200d22b26aded093289cb9150b3f05f76578c83
Author: Ruslan Ruslichenko <rruslich at cisco.com>
AuthorDate: Mon Apr 2 16:42:18 2018 +0300

    qemu: do not hardcode python2.7 path
    
    It can be installed to some non standard path in which
    case build will be broken.
    As python2.7 is specified in HOSTTOOLS we can rely
    that it is present in the PATH, so no need to hardcode
    it to /usr/bin.
    
    Signed-off-by: Ruslan Ruslichenko <rruslich at cisco.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 2a1d14b..dc73df8 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -28,7 +28,7 @@ EXTRA_OECONF = " \
     --target-list=${@get_qemu_target_list(d)} \
     --extra-cflags='${CFLAGS}' \
     "
-EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2.7"
+EXTRA_OECONF_append_class-native = " --python=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