summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* glib-2.0: Prevent a bash dependency via bash-completionNathan Rossi2017-04-061-0/+4
| | | | | | | | | | | | | | Prevent glib-2.0 depending on bash indirectly due to the RDEPEND on bash-completion. The bash dependency is undesirable due to bash depending on POSIX compatibility (fork, etc) which is not provided by MinGW but instead MSYS or CYGWIN. The glib-2.0 configure does not allow for disabling of bash-completion output, so instead of disabling the bash-completion bbclass entirely allow the output to be packaged but remove the RDEPENDS_${PN}-bash-completion on bash-completion. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gettext_0.19.%.bbappend: Handle packaging .dll's for mingw32Nathan Rossi2017-04-061-0/+6
| | | | | | | | | | | | Package the libgettext*.dll files in their respective packages. Additionally package libintl*.dll in a separate libintl package, this avoids the need to ship libintl*.dll in gettext-runtime which pulls in a number of files and binaries which are not required for libintl on its own. Whilst the package is added to PACKAGES unconditionally, it remains empty for targets where libintl is not provided/built by gettext. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gettext_0.19.%.bbappend: Fix/enable shared building of gettextNathan Rossi2017-04-062-1/+73
| | | | | | | | | | | | | Fix building of shared gettext for i686/32-bit mingw32. This adds a patch which fixes an issue with gnulib that is included in gettext. This patch does not need to be submitted upstream as it is fixing an issue with the included version of gnulib. Upstream gnulib has already fixed this issue and upstream gettext has already updated the included gnulib, however gettext has not yet made a release that includes this fix. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libpcre: Handle shipping .exe and .dll files for mingw32Nathan Rossi2017-04-061-0/+6
| | | | | | Package the .dll and .exe files into their expected packages. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* expat: Fix ${PN}-bin handling for .exe filesNathan Rossi2017-04-061-0/+3
| | | | | | | | For mingw it is convention to have DLLs in bindir. To avoid grouping anything other that .exe files into the ${PN}-bin package, override it so that only '*.exe' files are shipped. Signed-off-by: Nathan Rossi <nathan@nathanrossi.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>
* zlib*.bbappend: Work with all 1.2.% versionsJuro Bystricky2017-03-071-0/+0
| | | | 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>
* layer.conf: Add dependency on oe-coreMark Hatle2017-01-131-0/+2
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.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>
* mpfr_3.1.3.bbappend: Work with all 3.1.% versionsJuro Bystricky2016-09-281-0/+0
| | | | | | | Tested with 3.1.4. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_6.0.0.bbappend: RemovedJuro Bystricky2016-09-281-3/+0
| | | | | | | Not needed anymore. 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>
* gettext_0.19.4.bbappend: Update for later versionsJuro Bystricky2016-09-282-2/+6
| | | | | | | | | Modified to work properly with later versions. Only static build supported. (Tested up to 0.19.8.1) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* *-mingw32.conf: Upgrade for krogothJuro Bystricky2016-09-282-2/+12
| | | | | | | | | | | | | Use explicit mingw32 override for PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial to avoid multiple providers and consequently broken builds. Allow building static libraries, disabled by default. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts-mingw32.bbclass: Update to match YP 2.0 releasejethroMark Hatle2016-02-011-9/+15
| | | | | | | | | The environment script generatation is updated to match YP 2.0 version. In addition, there was an error in the way the EXTRAPATH component was being generated. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* toolchain-scripts-mingw32: Use short paths (8.3)Mark Hatle2016-02-011-1/+2
| | | | | | | | | | | | When using standard paths, the user may end up exceeding the path length to some toolchain helper libraries (DLLs) and binaries. By switching to using the "short path", we can avoid this in many more cases. If the user does exceed the path length, their only option will be to move the SDK lower in their directory tree. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* meta-environment: Update environment files to batch filesMark Hatle2016-02-012-0/+91
| | | | | | | | | | | | | | | | | Since the environment .sh files can't be used on a normal windows machine, change to providing .bat files instead. The same mechanisms normally used can be used on the Windows command line. i.e. Unix way: $ source environment-setup-armv5te-wrs-linux-gnueabi.sh $ $CC hello.c Win32 way: C:\Users\mhatle\win-sdk>environment-setup-armv5te-wrs-linux-gnueabi.bat C:\Users\mhatle\win-sdk>%CC% hello.c Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* 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>
* gettext_0.19.4.bbappend: support for mingwJuro Bystricky2015-08-091-0/+2
| | | | | | | | | | | | | | | | | | | | | This patch solves various unresolved references: .libs/fstrcmp.o:fstrcmp.c:(.text+0x4b6): undefined reference to `_imp__pthread_key_create' .libs/fstrcmp.o:fstrcmp.c:(.text+0x5b2): undefined reference to `_imp__pthread_once' .libs/fstrcmp.o:fstrcmp.c:(.text+0x5c4): undefined reference to `_imp__pthread_getspecific' .libs/fstrcmp.o:fstrcmp.c:(.text+0x617): undefined reference to `_imp__pthread_setspecific' .libs/localename.o:localename.c:(.text+0x14f6): undefined reference to `_imp__pthread_mutex_lock' .libs/localename.o:localename.c:(.text+0x1576): undefined reference to `_imp__pthread_mutex_unlock' .libs/localename.o:localename.c:(.text+0x15c9): undefined reference to `_imp__pthread_mutex_unlock' glthread/.libs/lock.o:lock.c:(.text+0xe): undefined reference to `_imp__pthread_mutexattr_init' glthread/.libs/lock.o:lock.c:(.text+0x2d): undefined reference to `_imp__pthread_mutexattr_settype' glthread/.libs/lock.o:lock.c:(.text+0x44): undefined reference to `_imp__pthread_mutex_init' glthread/.libs/lock.o:lock.c:(.text+0x53): undefined reference to `_imp__pthread_mutexattr_destroy' glthread/.libs/lock.o:lock.c:(.text+0x62): undefined reference to `_imp__pthread_mutexattr_destroy' glthread/.libs/lock.o:lock.c:(.text+0x75): undefined reference to `_imp__pthread_mutexattr_dest Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpfr_3.1.2: updated to mpfr_3.1.3Juro Bystricky2015-08-091-0/+0
| | | | | | | | Renamed mpfr_3.1.2.bbappend to mpfr_3.1.3.bbappend to match the new recipe mpfr_3.1.3.bb. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>
* libmpc_1.0.2: updated to libmpc_1.0.3Juro Bystricky2015-08-091-0/+0
| | | | | | | | | Renamed recipes-support/mpc/libmpc_1.0.2.bbappend to recipes-support/libmpc/libmpc_1.0.3.bbappend to reflect the changed location and version of the recipe libmpc_1.0.3.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>
* README: minor correctionJuro Bystricky2015-08-051-1/+1
| | | | | | | Fixed references to meta-darwin. 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>
* *-mingw32.conf: Add whitelist of WINDRES and RC to hashdizzyMark Hatle2014-11-122-1/+5
| | | | | | | | | | WINDRES and RC values are exported when building for a mingw32 target. These values, due to being exported, end up in the signature hash for everything in the system. By adding these to the whitelist we prevent contamination and allow the system to properly reuse existing -native and other sstate-cache. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 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>
* conf: Update WINDRES and RC variablesRichard Purdie2014-11-052-2/+4
| | | | | | | | | | | | | We need to ensure that WINDRES searches the correct include directory for header files. Now that a default sysroot is specified to an invalid location, it highlights that we need to specify the location manually and explictly. autotools appears to use "RC" in preference to "WINDRES" so we need to export that to ensure it doesn't just find the utility and use it without an include directory. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Enable mingw32 buildsRichard Purdie2014-08-191-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw32: export WINDRESRichard Purdie2014-08-192-0/+4
| | | | | | | mingw builds use WINDRES so export this tool in the same manner as the other tools for mingw builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Upgrade gmp 5.1.1 -> 6.0.0Richard Purdie2014-08-121-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* *-mingw32: Do not set binutils-crosssdk preferred providerJacob Kroon2014-08-122-2/+0
| | | | | | | | | | | | | | | Nowadays this is already set in OE-Core, in tcmode-default.inc. Fixes: WARNING: Variable key PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils-crosssdk (binutils-crosssdk-${SDK_ARCH}) replaces original key PREFERRED_PROVIDER_virtual/x86_64-oesdk-mingw32-binutils-crosssdk (binutils-crosssdk-${SDK_ARCH}). Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> 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>
* packagegroup-cross-canadian: reenable gdb on mingw32Richard Tollerton2014-07-181-5/+0
| | | | | Signed-off-by: Richard Tollerton <rich.tollerton@ni.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>