diff options
author | Ruslan Ruslichenko <rruslich@cisco.com> | 2018-04-02 16:42:18 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-03 23:53:20 +0100 |
commit | 6db7d80443f316e3ef21877490b9b1d4c8634675 (patch) | |
tree | f796582792f3ff88088d44ca0d2c3e0f164e60a7 /meta/recipes-devtools/qemu/qemu.inc | |
parent | 6c951c5a5ea012f029f8a3aed9e3c9e3f81ac61e (diff) | |
download | poky-6db7d80443f316e3ef21877490b9b1d4c8634675.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-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 2a1d14b31b..dc73df813a 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -28,7 +28,7 @@ EXTRA_OECONF = " \ | |||
28 | --target-list=${@get_qemu_target_list(d)} \ | 28 | --target-list=${@get_qemu_target_list(d)} \ |
29 | --extra-cflags='${CFLAGS}' \ | 29 | --extra-cflags='${CFLAGS}' \ |
30 | " | 30 | " |
31 | EXTRA_OECONF_append_class-native = " --python=${USRBINPATH}/python2.7" | 31 | EXTRA_OECONF_append_class-native = " --python=python2.7" |
32 | 32 | ||
33 | EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" | 33 | EXTRA_OEMAKE_append_class-native = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" |
34 | 34 | ||