diff options
author | 2019-07-12 00:54:31 +0100 | |
---|---|---|
committer | 2019-07-15 09:28:37 +0100 | |
commit | 9b3ed6f7ab8bf56a05a074162ed37ead12f248cf (patch) | |
tree | 677d0f98f15f4147494f8a7c1bb7a3ea50ec2152 /meta/recipes-devtools/qemu/qemu.inc | |
parent | f2286cc31bd92d75c7f8662abe816867ab041d50 (diff) | |
download | openembedded-core-contrib-9b3ed6f7ab8bf56a05a074162ed37ead12f248cf.tar.gz |
qemu: use Python 3 to build
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building qemu.
Signed-off-by: Ross Burton <ross.burton@intel.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, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 32379708e4..dfe17eed8b 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -77,6 +77,8 @@ export LIBTOOL="${HOST_SYS}-libtool" B = "${WORKDIR}/build" +EXTRA_OECONF_append = " --python=${HOSTTOOLS_DIR}/python3" + do_configure_prepend_class-native() { # Append build host pkg-config paths for native target since the host may provide sdl BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") |