aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-01-25Remove security flags from GCCPIEyocto-2.6.4yocto-2.6.3yocto-2.6.2thud-20.0.4thud-20.0.3thud-20.0.2thudSamuli Piippo
GCCPIE defaults to "--enable-default-pie" in security_flags.inc, which breaks Windows binaries. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> (cherry picked from commit b067aae507eab0f3ff5d4a4e9f9af289e30a95e3) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-05mingw32-common: only export WINDRES/RC for SDK buildyocto-2.6.1thud-20.0.1Changqing Li
Fix below problem: MACHINE=intel-x86-64 SDKMACHINE = "i686-mingw32" bitbake freetype do_compile failed with below error: x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-windres --include-dir=work/corei7-64-wrs-linux/freetype/2.9.1-r0/recipe-sysroot/usr/include /work/corei7-64-wrs-linux/freetype/2.9.1-r0/freetype-2.9.1/src/base/ftver.rc -o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build/.libs/ftver.o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build//x86_64-wrs-linux-libtool: line 1752: x86_64-wrs-linux-windres: command not found we don't want to use windres for target build, only export WINDRES/RC when build SDK. SDK_OS = "mingw32", so use this override to fix it. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-09-24layer.conf: Update to thud release seriesyocto-2.6thud-20.0.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-30swig: Add swig environment setup for SDKJoshua Watt
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>
2018-08-16mpfr: Update to new verion in masterRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-07mingw-w64-headers: backport patch to fix build with GCC 8Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-06-07mingw-w64-runtime: remove redundant commentsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-06-05libsdl2: add bbappend to fix build with mingwRoss Burton
We need to disable X11 as we do with libsdl1, and also convince libtool to stop trying to be clever so the build doesn't break. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-27machine-sdk: set the nativesdk libc to libc-mingwRoss Burton
We need to set this so that the override for nativesdk builds using MinGW don't think they're using glibc. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-27machine-sdk: split out common configurationRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-20diffutils: update sdiff kill() patch to be a backportyocto-2.5sumo-19.0.0Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-19nativesdk-packagegroup-sdk-host: add qemu to SDKJuro Bystricky
Now that we can build qemu for mingw, include it in SDK. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-14gettext_0.19.%.bbappend: fix build for mingw 5.0.3Juro Bystricky
Modify CFLAGS to fix a build error caused by upgrading mingw64 to 5.0.3: 'undefined reference to `xmlFree'' Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2018-04-14mingw64: update to 5.0.3Samuli Piippo
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>
2018-04-12diffutils_3.6: build for mingwJuro Bystricky
Build of diffutils was requested/broken for mingw because of the commit "diffutils: allow native & nativesdk builds" This patch implements neccessary steps needed to build diffutils executables: cmp.exe diff.exe diff3.exe sdiff.exe [YOCTO #12662] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2018-04-06layer.conf: Add LAYERSERIES_COMPATRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-03machine-sdk: Ensure SDK_DEPENDS doesn't contain nativesdk-glibc-locale2.5_M3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-28machine-sdk: disable locales in SDKRoss Burton
2018-02-28libmpc: use wildcard versionRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-02-26binutils: generalise version wildcardRoss Burton
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>
2018-01-30gcc-crosssdk: use _remove instead of oe.utils.str_filter_outRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-01-30gcc-crosssdk: use oe.utils.str_filter_outRoss Burton
oe_filter_out has been removed from oe-core so use the replacement function. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-01-10machine-sdk: use gettext for libintl, not mingw-runtimeRoss Burton
The MinGW runtime doesn't provide libintl, so set gettext as the preferred provider for libintl. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-10-20gdb: add missing space to append lineSamuli Piippo
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-28Fix Yocto Project compatible errorsMark Hatle
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>
2017-08-17libgcrypt: Handle upgrade of libgcrypt in oe-coreRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-19libgcrypt: generalise bbappendRoss Burton
2017-07-13README: set self as the maintainer of meta-mingwJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-06-08gdb-cross-canadian: generalise wildcard to work for all versionsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-18libiconv: add a recipe from oe-coreAlexander Kanavin
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>
2017-05-16libgpg-error: remove obsolete 1.26 bbappendRoss Burton
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>
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>