summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* nativesdk-mingw-w64-headers_3.1.0.bb: Updated licenseJuro Bystricky2016-01-211-1/+1
| | | | | | | | The mingw headers 3.1 are released under ZPL-2.1 license. This fixes the warning: WARNING: nativesdk-mingw-w64-headers: No generic license file exists for: ZPL in any provider Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* pthreads-win32: Install also pthreadGC2.dllJuro Bystricky2016-01-211-0/+1
| | | | | | Some Windows executables/DLLs link explicitly to pthreadGC2.dll. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
* binutils*.bbappend: Work with all 2.25 versionsPeter Seebach2016-01-211-0/+0
| | | | | Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc*.bbappend: Work with 5.2.Peter Seebach2016-01-215-0/+0
| | | | | | | | | Rename the bbappends to use % so they can be used with both 4.x and 5.x. None of these changes appear to be specific to a given version of gcc. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc-runtime: Drop libgomp for mingw32 runtimePeter Seebach2016-01-211-2/+2
| | | | | | | The mingw32 runtime has issues building libgomp, so drop it for now. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* nativesdk-libtool_2.4.2: updated nativesdk-libtool_2.4.6Juro Bystricky2015-08-091-0/+0
| | | | | | | | Renamed nativesdk-libtool_2.4.2.bbappend to nativesdk-libtool_2.4.6.bbappend in order to match the new recipe nativesdk-libtool_2.4.6.bb. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: upgrade to version 2.25Juro Bystricky2015-08-091-0/+0
| | | | | | | | Renamed the file binutils-cross-canadian_2.24.bbappend to binutils-cross-canadian_2.25.bbappend. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross-canadian_7.8.1: updated to gdb-cross-canadian_7.9.1Juro Bystricky2015-08-091-0/+0
| | | | | | | | Renamed gdb-cross-canadian_7.8.1.bbappend to gdb-cross-canadian_7.9.1.bbappend, to match the updated recipe gdb-cross-canadian_7.9.1.bb. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross-canadian: Update 7.7.1 -> 7.8.1Richard Purdie2014-11-121-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pthreads-win32: Ensure correct RC/WINDRES is used.Richard Purdie2014-11-051-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Remove nativesdk-flex dependencyMark Hatle2014-07-311-1/+2
| | | | | | | | | Flex does not build properly with mingw support, it also does not appear to be needed in order to build binutils or the other nativesdk components when building for mingw. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross-canadian: remove ncurses and python deps from mingw32 buildsRichard Tollerton2014-07-181-0/+5
| | | | | | | | | | | | | | | | | Python has never appeared to build under mingw; those who have gotten gdb builds working under mingw have extracted the MSIs from python.org. In lieu of that approach, just disable python support for now. nativesdk-ncurses has several build problems, the least surmountable of which is that it doesn't appear to build either statically or dynamically. Just disable that for now too. This results in mingw32 gdb not supporting plugins, pretty-printing, or TUI mode, at the very least. But MI mode works, as does gdb's internal readline implementation. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Uprev gcc and related to latest versionMark Hatle2014-07-088-50/+33
| | | | | | | Uprev gcc to match master, and resync with latest mingw runtime. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc/nativesdk-mingw-w84-headers: Move symlinking to headers recipeRichard Purdie2014-05-272-8/+9
| | | | | | | | | | | The symlinking is really an artefact of the way the headers are provided. Move all the code into one place. Also have the initial compiler depend on the headers else the build can fail. High parallelism prevented the issue from being seen in most cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pthreads-win32: Ensure compiler options are preservedRichard Purdie2014-05-271-1/+1
| | | | | | | The compiler flags were not getting passed to the compiler, this fixes the make command so they do get preserved. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw32: Update after compiler suffix changesRichard Purdie2014-04-301-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime: Disable libatomic, it doesn't build for mingwRichard Purdie2014-04-301-1/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>