aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-16machine-sdk: Ensure SDK_DEPENDS doesn't contain nativesdk-glibc-localepyroRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-16machine-sdk: disable locales in SDKRoss Burton
2017-04-06libgcrypt_1.7.6.bbappend: Add patch to fix configure bug for mingw32Nathan Rossi
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>
2017-04-06libgcrypt: Disable 'capabilities' for mingw32Nathan Rossi
libcap does not support mingw32, so disable 'capabilities' support for the mingw32 targets. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-06libgcrypt: Handle packaging of .exe and .def filesNathan Rossi
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>
2017-04-06libgpg-error_1.26.bbappend: Add patch to fix configure bug for mingw32Nathan Rossi
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>
2017-04-06libgpg-error: Handle packaging .exe filesNathan Rossi
Handle packaging gpg-error.exe in the -dev package. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-06libsdl: Fix ${PN}-bin handling for .exe filesNathan Rossi
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>
2017-04-06libsdl: Windows specific PACKAGECONFIGNathan Rossi
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>
2017-04-06dtc: Only build libfdt for mingw32Nathan Rossi
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>
2017-04-06glib-2.0: Clean up unnecessary appends that are resolved in oe-coreNathan Rossi
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>
2017-04-06glib-2.0: Handle packaging .dll and .exe files for mingw32Nathan Rossi
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>
2017-04-06glib-2.0: Disable libmount support for mingw32 targetsNathan Rossi
MinGW/Windows does not have support for libmount, so disable it when targeting mingw32. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-06glib-2.0: Prevent a bash dependency via bash-completionNathan Rossi
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>
2017-04-06gettext_0.19.%.bbappend: Handle packaging .dll's for mingw32Nathan Rossi
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>
2017-04-06gettext_0.19.%.bbappend: Fix/enable shared building of gettextNathan Rossi
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>
2017-04-06libpcre: Handle shipping .exe and .dll files for mingw32Nathan Rossi
Package the .dll and .exe files into their expected packages. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2017-04-06expat: Fix ${PN}-bin handling for .exe filesNathan Rossi
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>
2017-04-06libgcc: Relocate and package dll's in bindirNathan Rossi
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>
2017-04-06mingw-w64-headers: Add 'secure-api' PACKAGECONFIGNathan Rossi
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>
2017-03-12gcc-runtime: Drop libmpx for mingw32 runtimeJuro Bystricky
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>
2017-03-07zlib*.bbappend: Work with all 1.2.% versionsJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-26pthreads-win32: fix dependenciesJuro Bystricky
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>
2017-01-13layer.conf: Add dependency on oe-coreMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-01-13gcc-crosssdk-initial_%.bbappend:Do not configure with initfini-array enabledJuro Bystricky
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>
2017-01-13gcc-crosssdk_%.bbappend: Do not configure with initfini-array enabled.Juro Bystricky
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>
2017-01-13mingw-64-runtime_3.1.bb: Adapt to SDK_ARCH -> SDK_SYS chanages for crosssdkJuro Bystricky
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>
2017-01-13gcc-cross-canadian: Workaround LTO failureMark Hatle
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>
2016-09-28gdb-cross-canadian_7.9.1: Work with all 7.% versionskrogothJuro Bystricky
Tested with 7.11. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28mpfr_3.1.3.bbappend: Work with all 3.1.% versionsJuro Bystricky
Tested with 3.1.4. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28gmp_6.0.0.bbappend: RemovedJuro Bystricky
Not needed anymore. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28gcc-runtime: Drop libitm for mingw32 runtimeJuro Bystricky
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>
2016-09-28binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versionsJuro Bystricky
Tested up to 2.27 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28gettext_0.19.4.bbappend: Update for later versionsJuro Bystricky
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>
2016-09-28*-mingw32.conf: Upgrade for krogothJuro Bystricky
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>
2016-02-01toolchain-scripts-mingw32.bbclass: Update to match YP 2.0 releasejethroMark Hatle
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>
2016-02-01toolchain-scripts-mingw32: Use short paths (8.3)Mark Hatle
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>
2016-02-01meta-environment: Update environment files to batch filesMark Hatle
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>
2016-02-01nativesdk-gcc: Add mingw32 named libraries to files listMark Hatle
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>
2016-01-21nativesdk-mingw-w64-runtime_3.1.0.bb: Updated licenseJuro Bystricky
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>
2016-01-21nativesdk-mingw-w64-headers_3.1.0.bb: Updated licenseJuro Bystricky
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>
2016-01-21pthreads-win32: Install also pthreadGC2.dllJuro Bystricky
Some Windows executables/DLLs link explicitly to pthreadGC2.dll. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2016-01-21binutils*.bbappend: Work with all 2.25 versionsPeter Seebach
Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2016-01-21gcc*.bbappend: Work with 5.2.Peter Seebach
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>
2016-01-21gcc-runtime: Drop libgomp for mingw32 runtimePeter Seebach
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>
2015-08-09gettext_0.19.4.bbappend: support for mingwJuro Bystricky
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>
2015-08-09mpfr_3.1.2: updated to mpfr_3.1.3Juro Bystricky
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>
2015-08-09nativesdk-libtool_2.4.2: updated nativesdk-libtool_2.4.6Juro Bystricky
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>
2015-08-09libmpc_1.0.2: updated to libmpc_1.0.3Juro Bystricky
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>
2015-08-09binutils-cross-canadian: upgrade to version 2.25Juro Bystricky
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>