mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
qemu: Fix mingw builds
After the recent upgrade, mingw builds failed. Add a hack whilst a solution is discussed upstream. (From OE-Core rev: 967c6767eacab1951ae710666c588551102be5a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -26,6 +26,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
|
|||||||
file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \
|
file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \
|
||||||
file://0001-Add-enable-disable-udev.patch \
|
file://0001-Add-enable-disable-udev.patch \
|
||||||
file://0001-qemu-Do-not-include-file-if-not-exists.patch \
|
file://0001-qemu-Do-not-include-file-if-not-exists.patch \
|
||||||
|
file://mingwfix.patch \
|
||||||
"
|
"
|
||||||
UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
|
UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||||
|
|
||||||
|
|||||||
21
meta/recipes-devtools/qemu/qemu/mingwfix.patch
Normal file
21
meta/recipes-devtools/qemu/qemu/mingwfix.patch
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
OE assumes that mingw files are in a unix like file layout. The
|
||||||
|
'flattening' done by configure in qemu for mingw32 breaks things
|
||||||
|
for us. We are discussing with upstream but for now, hack this to
|
||||||
|
disable it and use the unix like layout everywhere.
|
||||||
|
|
||||||
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||||
|
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01073.html]
|
||||||
|
|
||||||
|
Index: qemu-5.2.0/configure
|
||||||
|
===================================================================
|
||||||
|
--- qemu-5.2.0.orig/configure
|
||||||
|
+++ qemu-5.2.0/configure
|
||||||
|
@@ -1541,7 +1541,7 @@ libdir="${libdir:-$prefix/lib}"
|
||||||
|
libexecdir="${libexecdir:-$prefix/libexec}"
|
||||||
|
includedir="${includedir:-$prefix/include}"
|
||||||
|
|
||||||
|
-if test "$mingw32" = "yes" ; then
|
||||||
|
+if test "$mingw32" = "dontwantthis" ; then
|
||||||
|
mandir="$prefix"
|
||||||
|
datadir="$prefix"
|
||||||
|
docdir="$prefix"
|
||||||
Reference in New Issue
Block a user