summaryrefslogtreecommitdiffstats
path: root/conf/machine-sdk/include/mingw32-common.inc
Commit message (Collapse)AuthorAgeFilesLines
* gettext: Update to match variable renaming in OE-Core3.5_M3Richard Purdie2022-02-171-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-mingw: Convert to new override syntaxRichard Purdie2021-07-301-13/+13
| | | | | | | | This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Disable debuginfodJoshua Watt2021-06-161-0/+2
| | | | | | | Disables debuginfod when using MingGW. This feature brings in unbuildable dependencies and can't be used. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw: Remove 'nativesdk-glibc-utils' for windows sdkamann2021-03-091-0/+1
| | | | | | | | | | | | | Certain recipes require the "glibc-utils" recipe to include Glibc utility tools. However, the native version is incompatible with the Windows host, and thus these recipes will cause the Windows SDK to fail to build, particularly the kernel development recipes. [YOCTO #14286] Signed-off-by: amann <anmolbir.mann@windriver.com> Signed-off-by: dreyna <david.reyna@windriver.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Override SDK_VENDORSamuli Piippo2020-09-211-0/+3
| | | | | | | | | | | | | Set SDK_VENDOR to '-w64', which makes the host triplet match what GCC expect to find when using mingw32-w64. This enables features that are not functional in the classic mingw32, but have been implemented in the mingw32-w64. Disable 32bit libs from the runtime component when compiling for 64bit, which were enabled as a side effect of the GCC config change. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Add SDK test case frameworkJoshua Watt2018-11-211-0/+7
| | | | | | | | | | | | | | | | Adds the framework for testing SDKs that ties into the oeqa test framework. This allows commands like: $ bitbake -c testsdk ... to be run for MinGW SDKs. The test framework currently executes all tests under Wine in lieu of having access to actual Windows machines. [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* winpthreads: use posix threads library from mingw64Samuli Piippo2018-11-201-2/+0
| | | | | | | | | Use the winpthreads library available in the mingw64 and change the thread model from win32 to posix to get access to c++11 features. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Remove security flags from GCCPIESamuli Piippo2018-11-201-0/+3
| | | | | | | | GCCPIE defaults to "--enable-default-pie" in security_flags.inc, which breaks Windows binaries. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw32-common: only export WINDRES/RC for SDK buildyocto-2.6.1thud-20.0.1Changqing Li2018-11-051-2/+5
| | | | | | | | | | | | | | | | | | | | | Fix below problem: MACHINE=intel-x86-64 SDKMACHINE = "i686-mingw32" bitbake freetype do_compile failed with below error: x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-windres --include-dir=work/corei7-64-wrs-linux/freetype/2.9.1-r0/recipe-sysroot/usr/include /work/corei7-64-wrs-linux/freetype/2.9.1-r0/freetype-2.9.1/src/base/ftver.rc -o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build/.libs/ftver.o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build//x86_64-wrs-linux-libtool: line 1752: x86_64-wrs-linux-windres: command not found we don't want to use windres for target build, only export WINDRES/RC when build SDK. SDK_OS = "mingw32", so use this override to fix it. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* machine-sdk: set the nativesdk libc to libc-mingwRoss Burton2018-04-271-0/+1
| | | | | | | We need to set this so that the override for nativesdk builds using MinGW don't think they're using glibc. Signed-off-by: Ross Burton <ross.burton@intel.com>
* machine-sdk: split out common configurationRoss Burton2018-04-271-0/+36
Signed-off-by: Ross Burton <ross.burton@intel.com>