summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Override SDK_VENDORupstream/dunfell-nextSamuli Piippo2020-09-232-0/+5
| | | | | | | | | | | | | | 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> (cherry picked from commit b7d37809364f5928777eb26a33a4f7949c18aa42)
* layer.conf: Update to new dunfell release nameyocto-3.2.1yocto-3.1.9yocto-3.1.8yocto-3.1.7yocto-3.1.6yocto-3.1.5yocto-3.1.4yocto-3.1.3yocto-3.1.2yocto-3.1.13yocto-3.1.12yocto-3.1.11yocto-3.1.10yocto-3.1.1yocto-3.1gatesgarth-24.0.1dunfell-23.0.9dunfell-23.0.8dunfell-23.0.7dunfell-23.0.6dunfell-23.0.5dunfell-23.0.4dunfell-23.0.3dunfell-23.0.2dunfell-23.0.13dunfell-23.0.12dunfell-23.0.11dunfell-23.0.10dunfell-23.0.1dunfell-23.0.03.1_M3upstream/dunfellRichard Purdie2020-03-151-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/binutils: Allow plugins to be enabled on cross-canadian toolchainMark Hatle2020-02-212-2/+7
| | | | | | | | | | | | | | As of GCC 8, plugin support is available with mingw. If the plugins are enabled in the regular binutils/gcc configurations, carry over that configuration with the mingw versions as well. When plugins are enabled, they produce a file called [plugin].dll.a. This causes the debugsrc processor to find the file and attempt to pull out dwarf information. However, we need to prevent this as the files are not ELF, but in Microsoft PE format, and trigger an error if processed. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* wayland: Set meson configure optionsJoshua Watt2020-02-211-0/+1
| | | | | | | Sets the configure options required to build wayland-scanner using meson for MinGW Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* glib-2.0: Append to ${PN}-utils rather than overwriteRichard Purdie2020-02-191-1/+1
| | | | | | | This avoids errors with the recent change to add things to ${PN}-utils in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: adapt for version 0.203.1_M2Alexander Kanavin2019-12-092-68/+0
| | | | | | | | | | Drop backported patch (new gettext includes the updates). Drop version from the .bbappend (hopefully no version-specific tweaks will be needed going forward). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* wayland: Disable DTD validation on i686 MinGW3.1_M1Joshua Watt2019-12-091-0/+4
| | | | | | | | DTD validation can't be built for i686 MinGW because the assembly file used to encode the DTD string is incompatible (it works fine for x86_64 MinGW though). Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Add sdktest imageJoshua Watt2019-11-121-0/+16
| | | | | | | | Adds a specific image that can be used to build MinGW SDKs. This image includes extra recipes that are know to build for MinGW so that they can be tested on the autobuilder. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* dbus: Set FILESJoshua Watt2019-10-251-0/+11
| | | | | | Set the package files correctly for MinGW Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* wayland: Disable libraryJoshua Watt2019-10-251-0/+2
| | | | | | | | | Disable building the wayland libraries for MinGW. The libraries don't compile for this platform, and are generally unneeded anyway. The wayland recipe is usually only compiled for nativesdk to pull in the wayland-scanner utility. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* libxml2: Remove python supportJoshua Watt2019-10-251-0/+1
| | | | | | | Python doesn't cross compile for MinGW, so remove it as a dependency from the mingw32 nativesdk build Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Update for zeus releasezeus-22.0.4zeus-22.0.3zeus-22.0.2zeus-22.0.1zeus-22.0.0yocto-3.0.4yocto-3.0.3yocto-3.0.2yocto-3.0.1yocto-3.0upstream/zeusRichard Purdie2019-10-081-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: remove2.8_M3Joshua Watt2019-07-241-4/+0
| | | | | libsdl is being removed from oe-core, so it should no longer be necessary here either.
* bzip2: Remove bbappend2.8_M2Joshua Watt2019-07-182-37/+0
| | | | | | | The patch being applied by meta-mingw has been upstreamed as of 1.0.8, so there is no need to have a bbappend anymore. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* bzip2: Update to 1.0.7Joshua Watt2019-07-024-17/+37
| | | | | | | | Updates bzip2 to version 1.0.7 to match master in oe-core. The patch to change the path separator was properly upstreamed and hopefully will no longer be necessary going forward. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* testsdk: enhance extract sdk part2.8_M1Changqing Li2019-05-051-2/+9
| | | | | | | | | | | | Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so oe-core have add support of change SDK type to .zip, so correct the extract function. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Update to warrior release name seriesyocto-2.7.4yocto-2.7.3yocto-2.7.2yocto-2.7.1yocto-2.7warrior-21.0.4warrior-21.0.3warrior-21.0.2warrior-21.0.1warrior-21.0.0upstream/warriorRichard Purdie2019-04-021-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/toolchain-scripts-mingw32: Fix bad cmd flag2.7_M3Joshua Watt2019-02-201-11/+11
| | | | | | | | | | | The command to properly set the exit code at the end of the toolchain environment was using the correct flag delimiter '/', but the code to coerce all the unix-style paths to windows paths was incorrectly changing this to a '\'. This worked find in wines cmd, but on an actual Windows host, this caused cmd to wait indefinitely. Fix this by appending the command after the path separators are coerced. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* diffutils: Upgrade to 3.7Joshua Watt2019-02-203-50/+14
| | | | | | | | | Upgrade diffutils from 3.6 to 3.7. The upstream made several fixes so the local patches are no longer necessary, but the gnulib-tests need to be dropped since they do not compile properly. Since there are no more local patches, the bbappend can be made to match all versions. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw-w64/gcc: Adapt to removal of gcc-initial from OE-Core2.7_M2Richard Purdie2018-12-203-13/+2
| | | | | | OE-Core dropped gcc-initial, we can do the same for mingw. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-sdk-host: add Make2.7_M1Ross Burton2018-11-211-0/+1
| | | | | | | Make is useful, so add it to the SDK. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* libiconv: Upgrade 1.14 -> 1.15Joshua Watt2018-11-214-5102/+4
| | | | | | Updates to the latest release of libiconv Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw-w64-{headers,runtime,winpthreads}: Upgrade 5.0.3 -> 6.0.0Joshua Watt2018-11-216-83/+17
| | | | | | Upgrades the MinGW support recipes to the latest version Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* oeqa/sdkmingw: Add test casesJoshua Watt2018-11-215-0/+144
| | | | | | | | | Adds test cases to verify that gcc, binutils, gdb, and pkg-config are functioning in the MinGW SDK [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* classes/toolchain-scripts-mingw32: Ensure exit code is successJoshua Watt2018-11-211-0/+11
| | | | | | | | | | | The "set" command in Windows has some unfortunate behaviors that can frequently make it look like the toolchain script had an error. This makes automated testing of the SDK more difficult, so add a line to the environment setup script that ensures the script exits with success. [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* classes/toolchain-scripts-mingw32: Update variablesJoshua Watt2018-11-211-1/+3
| | | | | | | | | | | | | | Updates the variables configured by the toolchain script to match the oe-core class. This combines the changes from: 0b5f1b0430 ("toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment") 47160a8c51 ("cmake: fix linking in multilib SDKs") 668f56bb24 ("toolchain-scripts: drop PYTHONHOME") 81f126f4a8 ("toolchain-scripts.bbclass: Use PYTHONPATH instead of PYTHONHOME") [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Add .gitignoreJoshua Watt2018-11-211-0/+3
| | | | | | | | | Adds a .gitignore which ignores python artifact files, as these are now generated by the SDK tests [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Add SDK test case frameworkJoshua Watt2018-11-218-0/+207
| | | | | | | | | | | | | | | | 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>
* cmake: add support for building nativesdk-cmakeSamuli Piippo2018-11-203-0/+10
| | | | | | | Build nativesdk-cmake and dependency libs without without openssl. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* winpthreads: use posix threads library from mingw64Samuli Piippo2018-11-207-54/+40
| | | | | | | | | 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>
* README: Add myself as a maintainerJoshua Watt2018-11-201-1/+1
| | | | | | Replace Juro, as he no longer maintains the layer. 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>
* layer.conf: Update to thud release seriesyocto-2.6thud-20.0.0Richard Purdie2018-09-241-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: Add swig environment setup for SDKJoshua Watt2018-08-301-0/+12
| | | | | | | | | Configures the mingw SDK environment to set the SWIG_LIB environment variable so that swig can find its core library. Otherwise, swig will look for a directory called "Lib" next to the executable. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mpfr: Update to new verion in masterRichard Purdie2018-08-161-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64-headers: backport patch to fix build with GCC 8Ross Burton2018-06-072-1/+45
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* mingw-w64-runtime: remove redundant commentsRoss Burton2018-06-071-3/+0
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* libsdl2: add bbappend to fix build with mingwRoss Burton2018-06-051-0/+13
| | | | | | | We need to disable X11 as we do with libsdl1, and also convince libtool to stop trying to be clever so the build doesn't break. 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-273-70/+38
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* diffutils: update sdiff kill() patch to be a backportyocto-2.5sumo-19.0.0Ross Burton2018-04-201-8/+22
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* nativesdk-packagegroup-sdk-host: add qemu to SDKJuro Bystricky2018-04-191-0/+1
| | | | | | | Now that we can build qemu for mingw, include it in SDK. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gettext_0.19.%.bbappend: fix build for mingw 5.0.3Juro Bystricky2018-04-141-1/+0
| | | | | | | Modify CFLAGS to fix a build error caused by upgrading mingw64 to 5.0.3: 'undefined reference to `xmlFree'' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* mingw64: update to 5.0.3Samuli Piippo2018-04-142-4/+9
| | | | | | | | | Use the latest mingw64 release to get access to the latest Windows APIs BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw build to include correct float.h. (error: '_MCW_DN' undeclared here) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* diffutils_3.6: build for mingwJuro Bystricky2018-04-122-0/+36
| | | | | | | | | | | | | | | Build of diffutils was requested/broken for mingw because of the commit "diffutils: allow native & nativesdk builds" This patch implements neccessary steps needed to build diffutils executables: cmp.exe diff.exe diff3.exe sdiff.exe [YOCTO #12662] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* layer.conf: Add LAYERSERIES_COMPATRichard Purdie2018-04-061-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine-sdk: Ensure SDK_DEPENDS doesn't contain nativesdk-glibc-locale2.5_M3Richard Purdie2018-03-032-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* machine-sdk: disable locales in SDKRoss Burton2018-02-282-0/+2
|
* libmpc: use wildcard versionRoss Burton2018-02-281-0/+0
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>