Adding support for building QEMU for Windows
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest19 patches 1 replyIn review
- v11 of 19 patches 1 replySuperseded
Changes in v2 from the cover letter
* Moved a number of patches from oe-core series to this series
* Updated cover letter to reflect series additional inclusion
* Bring cover letter info from oe-core/meta series
* Updated commit messages
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | mingw-w64-headers: Add 'secure-api' PACKAGECONFIGrecipes-devtools/ | +4 | 0 replies | |
| 2/19 | libgcc: Relocate and package dll's in bindirrecipes-devtools/ | +7 | 0 replies | |
| 3/19 | expat: Fix ${PN}-bin handling for .exe filesrecipes-core/ | +3 | 0 replies | |
| 4/19 | libpcre: Handle shipping .exe and .dll files for mingw32recipes-support/ | +6 | 0 replies | |
| 5/19 | gettext_0.19.%.bbappend: Fix/enable shared building of gettextrecipes-core/ recipes-core/ | +73 | 0 replies | |
| 6/19 | gettext_0.19.%.bbappend: Handle packaging .dll's for mingw32recipes-core/ | +3 | 0 replies | |
| 7/19 | gettext_0.19.%.bbappend: Handle gettext-libintl .dll packagingrecipes-core/ | +1 | 0 replies | |
| 8/19 | glib-2.0: Prevent a bash dependency via bash-completionrecipes-core/ | +4 | 0 replies | |
| 9/19 | glib-2.0: Disable libmount support for mingw32 targetsrecipes-core/ | +4 | 0 replies | |
| 10/19 | glib-2.0: Handle packaging .dll and .exe files for mingw32recipes-core/ | +8 | 0 replies | |
| 11/19 | glib-2.0: Clean up unnecessary appends that are resolved in oe-corerecipes-core/ | +0 | 0 replies | |
| 12/19 | dtc: Only build libfdt for mingw32recipes-core/ | +16 | 0 replies | |
| 13/19 | libsdl: Windows specific PACKAGECONFIGrecipes-graphics/ | +7 | 0 replies | |
| 14/19 | libsdl: Fix ${PN}-bin handling for .exe filesrecipes-graphics/ | +2 | 0 replies | |
| 15/19 | libgpg-error: Handle packaging .exe filesrecipes-support/ | +3 | 0 replies | |
| 16/19 | libgpg-error_1.25.bbappend: Add patch to fix configure bug for mingw32recipes-support/ recipes-support/ | +52 | 0 replies | |
| 17/19 | libgcrypt: Handle packaging of .exe and .def filesrecipes-support/ | +8 | 0 replies | |
| 18/19 | libgcrypt: Disable 'capabilities' for mingw32recipes-support/ | +3 | 0 replies | |
| 19/19 | libgcrypt_1.7.3.bbappend: Add patch to fix configure bug for mingw32recipes-support/ recipes-support/ | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [meta-mingw][PATCH v2 0/19] Adding support for building QEMU for Windows
This series enables a number of packages and dependencies to be built for mingw32. The goal is to enable the building and packaging of QEMU targeting mingw32 with support for SDL/VNC enabled as well as being able to execute the qemu* machines of oe-core/meta.
The following series fixes a number of issues with compilation of certain components that are required to build and distribute QEMU. This series includes:
* Enabling 'secure-api' for mingw-w64-headers
* Fix/enable building of shared libraries for gettext
* Work around to avoid dependency on bash for glib-2.0, clean up of some glib-2.0 appends which are resolved in oe-core meta
* Better packaging of libgcc for easy use on Windows (deploy dll to bindir)
* Updating FILES_* to support locations for mingw32 output (bindir contains .dll) for libgcc, expat, libpcre, gettext, glib-2.0, libsdl, libgpg-error and libgcrypt
* Addition of PACKAGECONFIG options to libsdl, and configuring of PACKAGECONFIG for libsdl, glib-2.0 and libgcrypt to handle Windows only features and or ability to disable features that do not support mingw32/Windows
* Enabling build of libfdt in the dtc recipe, but skipping dtc itself
* Fixes for configuring libgpg-error and libgcrypt when targeting mingw32
The intended build execution is to allow for 'buildtools-tarball' (or any populate_sdk target with 'nativesdk-qemu' in TOOLCHAIN_HOST_TASK) to create an output that includes all dependent nativesdk binaries as well as a nativesdk QEMU binaries. This series does not however address fixing the environment setup script or self-extracting installer shell script that is normally provided by buildtools-tarball.
This series with the multiple oe-core/meta series was tested on the following target Windows platforms: Windows 10 (64-bit), Windows 8.1 (64-bit) and Windows 7 SP1 (64-bit).
The changes were also tested on the following Linux build hosts: Debian 8 (64-bit), Ubuntu 16.04 (64-bit), CentOS 7 (64-bit).
For convenience this series is also available in the git repository:
https://github.com/nathanrossi/meta-mingw nrossi/mingw-qemu-v2
This series partly depends on a set of series for oe-core/meta. The following series are required for building of QEMU (but not all parts of this series specifically), including dll packaging detection and libgcrypt support:
https://patchwork.openembedded.org/series/5049/
https://patchwork.openembedded.org/series/5050/
https://patchwork.openembedded.org/series/5051/
https://patchwork.openembedded.org/series/5052/
https://patchwork.openembedded.org/series/5053/
A branch which has the series above merged has been published to allow for easy testing, it is available at:
https://github.com/nathanrossi/openembedded-core testing/mingw-support-2017-01-30
---
Changes v2:
* Moved a number of patches from oe-core series to this series
* Updated cover letter to reflect series additional inclusion
* Bring cover letter info from oe-core/meta series
* Updated commit messages
Nathan Rossi (19):
mingw-w64-headers: Add 'secure-api' PACKAGECONFIG
libgcc: Relocate and package dll's in bindir
expat: Fix ${PN}-bin handling for .exe files
libpcre: Handle shipping .exe and .dll files for mingw32 gettext_0.19.%.bbappend: Fix/enable shared building of gettext gettext_0.19.%.bbappend: Handle packaging .dll's for mingw32 gettext_0.19.%.bbappend: Handle gettext-libintl .dll packaging glib-2.0: Prevent a bash dependency via bash-completion glib-2.0: Disable libmount support for mingw32 targets glib-2.0: Handle packaging .dll and .exe files for mingw32 glib-2.0: Clean up unnecessary appends that are resolved in oe-core
dtc: Only build libfdt for mingw32
libsdl: Windows specific PACKAGECONFIG
libsdl: Fix ${PN}-bin handling for .exe files
libgpg-error: Handle packaging .exe files libgpg-error_1.25.bbappend: Add patch to fix configure bug for mingw32
libgcrypt: Handle packaging of .exe and .def files
libgcrypt: Disable 'capabilities' for mingw32 libgcrypt_1.7.3.bbappend: Add patch to fix configure bug for mingw32
recipes-core/dtc/dtc_%.bbappend | 16 ++++++ recipes-core/expat/expat_%.bbappend | 3 + .../fix-gl_cv_prog_as_underscore-test.patch | 67 ++++++++++++++++++++++ recipes-core/gettext/gettext_0.19.%.bbappend | 11 +++- recipes-core/glib-2.0/glib-2.0_%.bbappend | 17 +++++- recipes-devtools/gcc/libgcc_%.bbappend | 8 ++- .../mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb | 4 ++ recipes-graphics/libsdl/libsdl_%.bbappend | 9 +++ ...c-Set-mym4_revision-to-0-if-not-a-git-rep.patch | 46 +++++++++++++++ recipes-support/libgcrypt/libgcrypt_%.bbappend | 11 ++++ recipes-support/libgcrypt/libgcrypt_1.7.3.bbappend | 6 ++ ...c-Set-mym4_revision-to-0-if-not-a-git-rep.patch | 46 +++++++++++++++ .../libgpg-error/libgpg-error_%.bbappend | 3 + .../libgpg-error/libgpg-error_1.25.bbappend | 6 ++ recipes-support/libpcre/libpcre_%.bbappend | 6 ++ 15 files changed, 255 insertions(+), 4 deletions(-) create mode 100644 recipes-core/dtc/dtc_%.bbappend create mode 100644 recipes-core/expat/expat_%.bbappend create mode 100644 recipes-core/gettext/gettext/fix-gl_cv_prog_as_underscore-test.patch create mode 100644 recipes-graphics/libsdl/libsdl_%.bbappend create mode 100644 recipes-support/libgcrypt/files/configure.ac-Set-mym4_revision-to-0-if-not-a-git-rep.patch create mode 100644 recipes-support/libgcrypt/libgcrypt_%.bbappend create mode 100644 recipes-support/libgcrypt/libgcrypt_1.7.3.bbappend create mode 100644 recipes-support/libgpg-error/files/configure.ac-Set-mym4_revision-to-0-if-not-a-git-rep.patch create mode 100644 recipes-support/libgpg-error/libgpg-error_%.bbappend create mode 100644 recipes-support/libgpg-error/libgpg-error_1.25.bbappend create mode 100644 recipes-support/libpcre/libpcre_%.bbappend
Signature · 1 line
2.11.0