summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix Yocto Project compatible errorsMark Hatle2017-08-283-10/+5
| | | | | | | | | | | | | | Each of the recipes modified fail the YP compatible checking script because they modify the checksum of the package, even when the mingw32 SDK is not enabled. This is corrected by ensuring that each of the settings is only done when the mingw32 override is enabled. The PACKAGECONFIG options are moved to oe-core, as there is no way to specify they should only available in the mingw32 override is enabled. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* libgcrypt: Handle upgrade of libgcrypt in oe-coreRichard Purdie2017-08-171-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: generalise bbappendRoss Burton2017-07-191-0/+0
|
* README: set self as the maintainer of meta-mingwJuro Bystricky2017-07-131-1/+1
| | | | Signed-off-by: Juro Bystricky <juro.bystricky@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>
* libiconv: add a recipe from oe-coreAlexander Kanavin2017-05-184-0/+5146
| | | | | | | | Both glibc and musl provide their own implementation, but meta-mingw still requires it. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgpg-error: remove obsolete 1.26 bbappendRoss Burton2017-05-162-52/+0
| | | | | | | oe-core now has 1.27 which solves the problem this patch was for, so remove the obsolete bbappend and patch. Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgcrypt_1.7.6.bbappend: Add patch to fix configure bug for mingw32Nathan Rossi2017-04-062-0/+52
| | | | | | | | | | Resolve bug with the generation of the versioninfo.rc file which depends on the BUILD_REVISION being set during configure. The BUILD_REVISION is unset when building against tarball source due to no git repository information. This patch sets the BUILD_REVISION to 0 when no information is available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libgcrypt: Disable 'capabilities' for mingw32Nathan Rossi2017-04-061-0/+3
| | | | | | | libcap does not support mingw32, so disable 'capabilities' support for the mingw32 targets. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libgcrypt: Handle packaging of .exe and .def filesNathan Rossi2017-04-061-0/+8
| | | | | | | | | Handle packaging of .exe for the hmac/dumpexp packages. Also add the packaging of mpicalc.exe to the -dev package. Also handle the packaging of the .def files into the -dev package. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libgpg-error_1.26.bbappend: Add patch to fix configure bug for mingw32Nathan Rossi2017-04-062-0/+52
| | | | | | | | | | Resolve bug with the generation of the versioninfo.rc file which depends on the BUILD_REVISION being set during configure. The BUILD_REVISION is unset when building against tarball source due to no git repository information. This patch sets the BUILD_REVISION to 0 when no information is available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libgpg-error: Handle packaging .exe filesNathan Rossi2017-04-061-0/+3
| | | | | | Handle packaging gpg-error.exe in the -dev package. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* libsdl: Fix ${PN}-bin handling for .exe filesNathan Rossi2017-04-061-0/+2
| | | | | | | | 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>
* libsdl: Windows specific PACKAGECONFIGNathan Rossi2017-04-061-0/+7
| | | | | | | | | | | | | | | Add a PACKAGECONFIG for 'stdio-redirect'. This configure option enables/disables the Windows only option for redirecting the stdout/stderr to files instead of to the console. Add the 'directx' PACKAGECONFIG to configure whether to build with DirectX support. By default this is enabled (when targeting mingw32/windows) however this requires the DirectX libraries in order to include and link against. Disable X11 support when building for the nativesdk mingw32. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* dtc: Only build libfdt for mingw32Nathan Rossi2017-04-061-0/+16
| | | | | | | | | | | Whilst building libfdt on mingw32 is functional, building dtc for mingw32 is not. This is due to dtc relying on certain POSIX functions as well as not handling the MSVCRT printf formatting. This change enables building and installing libfdt only for mingw32, disabling the build of device-tree-compiler itself. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* glib-2.0: Clean up unnecessary appends that are resolved in oe-coreNathan Rossi2017-04-061-2/+0
| | | | | | | The changes that are appended for '--enable-include=printf=yes' and removal of charset.alias are handled in oe-core. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* glib-2.0: Handle packaging .dll and .exe files for mingw32Nathan Rossi2017-04-061-1/+8
| | | | | | | | | | | | Handle the packaging of .dll files into the ${PN} package, also package only certain .exe files into the ${PN} and others into the ${PN}-utils packages. This is required due to the mingw/windows convention where .dll's are shipped in the bindir. Move the packaging of *.def into the ${PN}-dev package, it is only used during development/compilation. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* glib-2.0: Disable libmount support for mingw32 targetsNathan Rossi2017-04-061-0/+4
| | | | | | | MinGW/Windows does not have support for libmount, so disable it when targeting mingw32. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* 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>