1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-08 15:29:50 +00:00

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.

(From OE-Core rev: a200d22b26aded093289cb9150b3f05f76578c83)

Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ruslan Ruslichenko
2018-04-02 16:42:18 +03:00
committed by Richard Purdie
parent 6c951c5a5e
commit 6db7d80443
+1 -1
View File
@@ -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}'"