]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
qemu_2.11.1.bb: support mingw build
authorJuro Bystricky <juro.bystricky@intel.com>
Fri, 13 Apr 2018 18:11:03 +0000 (11:11 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Apr 2018 17:48:19 +0000 (18:48 +0100)
commit2d955bb53a8ee36c0a648c23293139612f33f97b
tree03b9bbe5c89efff56eccab336d3f930f526fe0ce
parent199d8d53261e22971bd094ddf3318855d539e6be
qemu_2.11.1.bb: support mingw build

The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly (by conditional compilation using
_WIN32 macro where appropriate), otherwise we end up with a broken
mingw build.

While it is possible to simply remove the whole patch for mingw build
(via a .bbappend file in meta-mingw), it makes more sense to modify
the patch itself.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/qemu/qemu/chardev-connect-socket-to-a-spawned-command.patch