From: Ruslan Ruslichenko Date: Mon, 2 Apr 2018 13:42:18 +0000 (+0300) Subject: qemu: do not hardcode python2.7 path X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~18231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a200d22b26aded093289cb9150b3f05f76578c83;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 2a1d14b31bc..dc73df813a7 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}'"