summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* libtool: Move append to generic filename5.1_M35.1_M25.1_M1Richard Purdie2024-06-021-0/+0
| | | | | | | The append is a single line mingw specific change which can be generic, not version specific. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Disable incompatible-pointer-types warning as error on mingwRichard Purdie2024-05-301-0/+3
| | | | | | | | GCC-14 promoted this warning into error by default but code does not build cleanly and now this warning becomes a hard error. Work around it for now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Upgrade to 12.0.0 releaseKhem Raj2024-05-305-33/+2
| | | | | | | Drop GCC-14 related backport, its not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: Disable C++ tools buildKhem Raj2024-05-281-1/+2
| | | | | | | | | | | | | This disables C++ 20 modules since c++-tools are needed for that feature to work, this is therefore an intermediate fix until we fix the c++-tools build issue which seems to related to it asking for pic version of libiberty.a which is not generated separately on x86 unlike other architectures because defaults are PIC already Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-mingw-w64-runtime: Fix build error/warning ↵Khem Raj2024-05-162-0/+32
| | | | | | | | | -Wincompatible-pointer-types This pops up with gcc trunk Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-libtool: Handle oe-core libtool upgradeyocto-4.0.9yocto-4.0.8yocto-4.0.7yocto-4.0.6yocto-4.0.5yocto-4.0.4yocto-4.0.3yocto-4.0.2yocto-4.0.13yocto-4.0.12yocto-4.0.11yocto-4.0.10yocto-4.0.1yocto-4.0kirkstone-4.0.9kirkstone-4.0.8kirkstone-4.0.7kirkstone-4.0.6kirkstone-4.0.5kirkstone-4.0.4kirkstone-4.0.3kirkstone-4.0.2kirkstone-4.0.13kirkstone-4.0.12kirkstone-4.0.11kirkstone-4.0.10kirkstone-4.0.1kirkstone-4.04.1_M1Richard Purdie2022-03-181-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Disable parallel buildKhem Raj2022-02-131-0/+4
| | | | | | | | binutils 2.38 brings up a parallel build issue, work it out by disabling parallel build for now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Upgrade runtime/headers/winpthreads to 9.0.0Khem Raj2022-02-136-92/+1
| | | | | | | | | | Drop upstreamed fixes for rdtsc [1] __udivmoddi4[2] [1] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/6a0e9165008f731bccadfc41a59719cf7c8efc02/ [2] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/ab0fa5ad3c67d634fd7754d9473d1bb7051f9bf0/ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Add missing dependency on libgnurxKhem Raj2021-11-071-0/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Package static libdep linker pluginsSamuli Piippo2021-08-131-0/+2
| | | | | | | this is new plugin added in binutils 2.36 Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* meta-mingw: Override syntax conversion manual fixesRichard Purdie2021-07-301-2/+2
| | | | | | | Fix a coupld of mis-converted lines from the automated override conversion script. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-mingw: Convert to new override syntaxRichard Purdie2021-07-3015-48/+48
| | | | | | | | 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/+1
| | | | | | | Disables debuginfod when using MingGW. This feature brings in unbuildable dependencies and can't be used. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* nativesdk-mingw-w64-winpthreads: Implement __udivmoddi4Khem Raj2021-05-012-0/+54
| | | | | | | Fixes build with gcc 11+ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64-runtime,mingw-w64-winpthreads: Upgrade to 8.0.0Khem Raj2021-05-014-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Check for __builtin_ia32_rdtscKhem Raj2021-04-132-0/+35
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* go: add environment setup batch file for goPeter Morrow2021-04-131-0/+9
| | | | | | | | When building the nativesdk for mingw we need to set GOROOT in order to build anything out of the box. Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* ninja: configure for mingw platform3.2_M3Samuli Piippo2020-09-211-0/+8
| | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* cmake: remove dependency to bash-completionSamuli Piippo2020-09-211-0/+1
| | | | | | | bash-completion pulls in ncurses which does not build for mingw. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Override SDK_VENDORSamuli Piippo2020-09-211-0/+2
| | | | | | | | | | | | | 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>
* cmake: Remove toolchain append3.2_M2Joshua Watt2020-07-211-6/+0
| | | | | | | | Now that cmake.bbclass in OE-core correctly accounts for MinGW hosts, it is no longer necessary to manually specify that CMAKE_SYSTEM_NAME as "Windows" Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* gdb-cross-canadian: Stop statically linkingJoshua Watt2020-07-211-1/+0
| | | | | | | | gdb was configured to statically link, presumably so it could find the static libexpat library. Since libexpat has been updated, it no longer builds a static library, so remove the flag to make GDB look for one. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw-w64: Upgrade to 7.0.0Joshua Watt2020-06-304-6/+1
| | | | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* 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>
* 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>
* 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>
* cmake: add support for building nativesdk-cmakeSamuli Piippo2018-11-201-0/+7
| | | | | | | 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-205-48/+39
| | | | | | | | | 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>
* 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>
* 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>
* 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>
* binutils: generalise version wildcardRoss Burton2018-02-261-0/+0
| | | | | | | Don't be overly specific by demanding 2.2%, 2.% is sufficient as this bbappend simply changes some options. Signed-off-by: Ross Burton <ross.burton@intel.com>
* gcc-crosssdk: use _remove instead of oe.utils.str_filter_outRoss Burton2018-01-301-2/+1
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* gcc-crosssdk: use oe.utils.str_filter_outRoss Burton2018-01-301-1/+1
| | | | | | oe_filter_out has been removed from oe-core so use the replacement function. Signed-off-by: Ross Burton <ross.burton@intel.com>
* gdb: add missing space to append lineSamuli Piippo2017-10-201-1/+1
| | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gdb-cross-canadian: generalise wildcard to work for all versionsRoss Burton2017-06-081-0/+0
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgcc: Relocate and package dll's in bindirNathan Rossi2017-04-061-1/+7
| | | | | | | | | Relocate and package the dll's provided by libgcc in bindir. It is convention that on mingw/windows dll files are installed into the bindir, this is done to avoid issues with search paths and allows for execution of binaries without the need to point at a libdir. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* mingw-w64-headers: Add 'secure-api' PACKAGECONFIGNathan Rossi2017-04-061-0/+4
| | | | | | | | | | Add the 'secure-api' PACKAGECONFIG and enable it by default. The 'secure-api' feature enables the secure string functions that are provided in the MS C Runtime e.g. "strerror_s". These functions are needed for glib-2.0 compilation. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gcc-runtime: Drop libmpx for mingw32 runtimeJuro Bystricky2017-03-121-0/+5
| | | | | | | | Intel Memory Protection Extension library for x86 builds are now enabled by default. However, the library does not build for mingw32, so remove it from mingw builds. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* pthreads-win32: fix dependenciesJuro Bystricky2017-01-261-1/+1
| | | | | | | | | | | | | This commit fixes the build error: make[1]: x86_64-pokysdk-mingw32-gcc: Command not found The build error appeared after oe-core switched to Recipe Specific Sysroots. [YOCTO#10971] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* gcc-crosssdk-initial_%.bbappend:Do not configure with initfini-array enabledJuro Bystricky2017-01-131-0/+2
| | | | | | | | | | | | | Default configuration for gcc-crosssddk-initial is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise, (with SDKMACHINE=x86_64-mingw32) we will eventually encounter errors such as: Assembler messages: Error: invalid instruction suffix for `push' Error: invalid instruction suffix for `pop' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-crosssdk_%.bbappend: Do not configure with initfini-array enabled.Juro Bystricky2017-01-131-0/+3
| | | | | | | | | | | Default configuration for gcc-crosssddk is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise we will eventually encounter build error such as: multiple definition of `__do_global_dtors' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* mingw-64-runtime_3.1.bb: Adapt to SDK_ARCH -> SDK_SYS chanages for crosssdkJuro Bystricky2017-01-131-1/+1
| | | | | | | | | | With the change of crosssdk to use SDK_SYS instead of SDK_ARCH, we need to update the recipe to match the changes in master. [YOCTO #9281] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-cross-canadian: Workaround LTO failureMark Hatle2017-01-131-1/+1
| | | | | | | | | | | | | Issue: LIN8-1615 Workaround for the failure: e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe: unrecognized option '-plugin' This disables the LTO support in the compiler, but does allow things to compile and link properly. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gdb-cross-canadian_7.9.1: Work with all 7.% versionskrogothJuro Bystricky2016-09-281-0/+2
| | | | | | | Tested with 7.11. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime: Drop libitm for mingw32 runtimeJuro Bystricky2016-09-281-0/+1
| | | | | | | libitm mingw build presently not supported, so don't build it. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versionsJuro Bystricky2016-09-281-0/+0
| | | | | | | Tested up to 2.27 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-gcc: Add mingw32 named libraries to files listMark Hatle2016-02-011-0/+6
| | | | | | | Also we skip the staticdev sanity check, as the '.a' file should be packaged as listed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* nativesdk-mingw-w64-runtime_3.1.0.bb: Updated licenseJuro Bystricky2016-01-211-1/+1
| | | | | | | | | mingw runtime 3.1 is released under ZPL-2.1 license. This fixes the warning: WARNING: nativesdk-mingw-w64-runtime: No generic license file exists for: ZPL in any provider Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>