The recent upgrade to qemu 11[1] introduced overly-tight COMPATIBLE_HOST
statements that don't allow mingw builds. Remove the -linux from the
nativesdk-qemu and nativesdk-qemu-helper recipes so that 64-bit mingw
builds of qemu are possible.
[1] oe-core f74d4025afc ("qemu: upgrade 10.2.0 -> 11.0.0")
Signed-off-by: Ross Burton <[email protected]>
---
meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb | 2 +-
meta/recipes-devtools/qemu/qemu.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
index e591cf0f292..e1f343989a5 100644
--- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
+++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
@@ -1,7 +1,7 @@
SUMMARY = "Qemu helper scripts"
LICENSE = "GPL-2.0-only"
# QEMU 11.0.0+ requires a 64-bit host architecture
-COMPATIBLE_HOST =
"(aarch64|x86_64|ppc64|ppc64le|riscv64|loongarch64|mips64|s390x|sparc64).*-linux"
+COMPATIBLE_HOST =
"(aarch64|x86_64|ppc64|ppc64le|riscv64|loongarch64|mips64|s390x|sparc64).*-.*"
RDEPENDS:${PN} = "nativesdk-qemu nativesdk-unfs3 nativesdk-pseudo \
nativesdk-python3-shell nativesdk-python3-fcntl
nativesdk-python3-logging \
"
diff --git a/meta/recipes-devtools/qemu/qemu.inc
b/meta/recipes-devtools/qemu/qemu.inc
index e440d748b25..9ec522124cc 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -64,7 +64,7 @@ COMPATIBLE_HOST:riscv32 = "null"
# QEMU 11.0.0+ requires a 64-bit host architecture for emulator builds
COMPATIBLE_HOST:class-target =
"(aarch64|x86_64|ppc64|ppc64le|riscv64|loongarch64|mips64|s390x|sparc64).*-linux"
-COMPATIBLE_HOST:class-nativesdk =
"(aarch64|x86_64|ppc64|ppc64le|riscv64|loongarch64|mips64|s390x|sparc64).*-linux"
+COMPATIBLE_HOST:class-nativesdk =
"(aarch64|x86_64|ppc64|ppc64le|riscv64|loongarch64|mips64|s390x|sparc64).*-.*"
# Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html
# upstream states qemu doesn't work without optimization
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242362):
https://lists.openembedded.org/g/openembedded-core/message/242362
Mute This Topic: https://lists.openembedded.org/mt/120519334/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-