diff options
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-native.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc index 34ab8e6401..c04297cad0 100644 --- a/meta/recipes-devtools/qemu/qemu-native.inc +++ b/meta/recipes-devtools/qemu/qemu-native.inc | |||
@@ -6,7 +6,6 @@ SRC_URI_append = " \ | |||
6 | file://0011-fix-libcap-header-issue-on-some-distro.patch \ | 6 | file://0011-fix-libcap-header-issue-on-some-distro.patch \ |
7 | file://0012-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch \ | 7 | file://0012-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch \ |
8 | " | 8 | " |
9 | EXTRA_OECONF_append = " --python=python2.7" | ||
10 | 9 | ||
11 | EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" | 10 | EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" |
12 | 11 | ||
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" | |||
77 | 77 | ||
78 | B = "${WORKDIR}/build" | 78 | B = "${WORKDIR}/build" |
79 | 79 | ||
80 | EXTRA_OECONF_append = " --python=${HOSTTOOLS_DIR}/python3" | ||
81 | |||
80 | do_configure_prepend_class-native() { | 82 | do_configure_prepend_class-native() { |
81 | # Append build host pkg-config paths for native target since the host may provide sdl | 83 | # Append build host pkg-config paths for native target since the host may provide sdl |
82 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") | 84 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") |