mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
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. (From OE-Core rev: 9b3ed6f7ab8bf56a05a074162ed37ead12f248cf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e79615e786
commit
d19cbe3af5
@@ -6,7 +6,6 @@ SRC_URI_append = " \
|
||||
file://0011-fix-libcap-header-issue-on-some-distro.patch \
|
||||
file://0012-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch \
|
||||
"
|
||||
EXTRA_OECONF_append = " --python=python2.7"
|
||||
|
||||
EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
|
||||
|
||||
|
||||
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user