aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-13go: add environment setup batch file for goPeter Morrow
When building the nativesdk for mingw we need to set GOROOT in order to build anything out of the box. Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2021-03-15layer.conf: Update for hardknott release seriesyocto-3.3.6yocto-3.3.5yocto-3.3.4yocto-3.3.3yocto-3.3.2yocto-3.3.1yocto-3.3hardknott-3.3.6hardknott-3.3.5hardknott-3.3.4hardknott-3.3.3hardknott-3.3.2hardknott-3.3.1hardknott-3.33.3_M3hardknottRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09mingw: Remove 'nativesdk-glibc-utils' for windows sdkamann
Certain recipes require the "glibc-utils" recipe to include Glibc utility tools. However, the native version is incompatible with the Windows host, and thus these recipes will cause the Windows SDK to fail to build, particularly the kernel development recipes. [YOCTO #14286] Signed-off-by: amann <anmolbir.mann@windriver.com> Signed-off-by: dreyna <david.reyna@windriver.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2021-03-02libgcrypt: drop 1.8.x append and patchAlexander Kanavin
1.9.x no longer requires this, as the code has been refactored into an external script that has defaults and a guard for .git directory. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03README: Add instructions for configuring git repo for sending patchesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28dbus: Update to handle dbus-tools changeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16libmpc: Add missing whitespace in append operator useyocto-3.2.4yocto-3.2.3yocto-3.2.2yocto-3.2.1gatesgarth-24.0.4gatesgarth-24.0.3gatesgarth-24.0.2gatesgarth-24.0.13.3_M23.3_M1gatesgarthKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-10-16layer.conf: Update to gatesgarthyocto-3.2gatesgarth-24.0.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21ninja: configure for mingw platform3.2_M3Samuli Piippo
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-09-21cmake: remove dependency to bash-completionSamuli Piippo
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>
2020-09-21Override SDK_VENDORSamuli Piippo
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>
2020-08-21nativesdk-packagegroup-sdk-host: Update to match oe-core default providers ↵Richard Purdie
handling This was repsonsible for some strange differences in behaviour between other OE-Core recipes and this one. Its assumed this package is present in any SDK build. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-21cmake: Remove toolchain append3.2_M2Joshua Watt
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>
2020-07-21gdb-cross-canadian: Stop statically linkingJoshua Watt
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>
2020-07-16Update mpfr 4.0.x -> 4.1.xJoshua Watt
Updates the bbappend to match oe-core Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-06-30mingw-w64: Upgrade to 7.0.0Joshua Watt
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-04-29libsdl2: do not enable opengl3.2_M1Alexander Kanavin
In some configurations this can be switched on in oe-core, and so needs to be disabled similarly to x11. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-03-15layer.conf: Update to new dunfell release nameyocto-3.1.9yocto-3.1.8yocto-3.1.7yocto-3.1.6yocto-3.1.5yocto-3.1.4yocto-3.1.3yocto-3.1.28yocto-3.1.27yocto-3.1.26yocto-3.1.25yocto-3.1.24yocto-3.1.23yocto-3.1.22yocto-3.1.21yocto-3.1.20yocto-3.1.2yocto-3.1.19yocto-3.1.18yocto-3.1.17yocto-3.1.16yocto-3.1.15yocto-3.1.14yocto-3.1.13yocto-3.1.12yocto-3.1.11yocto-3.1.10yocto-3.1.1yocto-3.1dunfell-23.0.9dunfell-23.0.8dunfell-23.0.7dunfell-23.0.6dunfell-23.0.5dunfell-23.0.4dunfell-23.0.3dunfell-23.0.28dunfell-23.0.27dunfell-23.0.26dunfell-23.0.25dunfell-23.0.24dunfell-23.0.23dunfell-23.0.22dunfell-23.0.21dunfell-23.0.20dunfell-23.0.2dunfell-23.0.19dunfell-23.0.18dunfell-23.0.17dunfell-23.0.16dunfell-23.0.15dunfell-23.0.14dunfell-23.0.13dunfell-23.0.12dunfell-23.0.11dunfell-23.0.10dunfell-23.0.1dunfell-23.0.03.1_M3Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-21gcc/binutils: Allow plugins to be enabled on cross-canadian toolchainMark Hatle
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>
2020-02-21wayland: Set meson configure optionsJoshua Watt
Sets the configure options required to build wayland-scanner using meson for MinGW Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-02-19glib-2.0: Append to ${PN}-utils rather than overwriteRichard Purdie
This avoids errors with the recent change to add things to ${PN}-utils in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-09gettext: adapt for version 0.203.1_M2Alexander Kanavin
Drop backported patch (new gettext includes the updates). Drop version from the .bbappend (hopefully no version-specific tweaks will be needed going forward). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-09wayland: Disable DTD validation on i686 MinGW3.1_M1Joshua Watt
DTD validation can't be built for i686 MinGW because the assembly file used to encode the DTD string is incompatible (it works fine for x86_64 MinGW though). Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-11-12Add sdktest imageJoshua Watt
Adds a specific image that can be used to build MinGW SDKs. This image includes extra recipes that are know to build for MinGW so that they can be tested on the autobuilder. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-10-25dbus: Set FILESJoshua Watt
Set the package files correctly for MinGW Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-10-25wayland: Disable libraryJoshua Watt
Disable building the wayland libraries for MinGW. The libraries don't compile for this platform, and are generally unneeded anyway. The wayland recipe is usually only compiled for nativesdk to pull in the wayland-scanner utility. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-10-25libxml2: Remove python supportJoshua Watt
Python doesn't cross compile for MinGW, so remove it as a dependency from the mingw32 nativesdk build Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-10-08layer.conf: Update for zeus releasezeus-22.0.4zeus-22.0.3zeus-22.0.2zeus-22.0.1zeus-22.0.0yocto-3.0.4yocto-3.0.3yocto-3.0.2yocto-3.0.1yocto-3.0zeusRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-24libsdl: remove2.8_M3Joshua Watt
libsdl is being removed from oe-core, so it should no longer be necessary here either.
2019-07-18bzip2: Remove bbappend2.8_M2Joshua Watt
The patch being applied by meta-mingw has been upstreamed as of 1.0.8, so there is no need to have a bbappend anymore. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-07-02bzip2: Update to 1.0.7Joshua Watt
Updates bzip2 to version 1.0.7 to match master in oe-core. The patch to change the path separator was properly upstreamed and hopefully will no longer be necessary going forward. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-05-05testsdk: enhance extract sdk part2.8_M1Changqing Li
Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so oe-core have add support of change SDK type to .zip, so correct the extract function. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-04-02layer.conf: Update to warrior release name seriesyocto-2.7.4yocto-2.7.3yocto-2.7.2yocto-2.7.1yocto-2.7warrior-21.0.4warrior-21.0.3warrior-21.0.2warrior-21.0.1warrior-21.0.0warriorRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-02-20classes/toolchain-scripts-mingw32: Fix bad cmd flag2.7_M3Joshua Watt
The command to properly set the exit code at the end of the toolchain environment was using the correct flag delimiter '/', but the code to coerce all the unix-style paths to windows paths was incorrectly changing this to a '\'. This worked find in wines cmd, but on an actual Windows host, this caused cmd to wait indefinitely. Fix this by appending the command after the path separators are coerced. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-02-20diffutils: Upgrade to 3.7Joshua Watt
Upgrade diffutils from 3.6 to 3.7. The upstream made several fixes so the local patches are no longer necessary, but the gnulib-tests need to be dropped since they do not compile properly. Since there are no more local patches, the bbappend can be made to match all versions. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-12-20mingw-w64/gcc: Adapt to removal of gcc-initial from OE-Core2.7_M2Richard Purdie
OE-Core dropped gcc-initial, we can do the same for mingw. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-21packagegroup-sdk-host: add Make2.7_M1Ross Burton
Make is useful, so add it to the SDK. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21libiconv: Upgrade 1.14 -> 1.15Joshua Watt
Updates to the latest release of libiconv Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21mingw-w64-{headers,runtime,winpthreads}: Upgrade 5.0.3 -> 6.0.0Joshua Watt
Upgrades the MinGW support recipes to the latest version Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21oeqa/sdkmingw: Add test casesJoshua Watt
Adds test cases to verify that gcc, binutils, gdb, and pkg-config are functioning in the MinGW SDK [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21classes/toolchain-scripts-mingw32: Ensure exit code is successJoshua Watt
The "set" command in Windows has some unfortunate behaviors that can frequently make it look like the toolchain script had an error. This makes automated testing of the SDK more difficult, so add a line to the environment setup script that ensures the script exits with success. [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21classes/toolchain-scripts-mingw32: Update variablesJoshua Watt
Updates the variables configured by the toolchain script to match the oe-core class. This combines the changes from: 0b5f1b0430 ("toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment") 47160a8c51 ("cmake: fix linking in multilib SDKs") 668f56bb24 ("toolchain-scripts: drop PYTHONHOME") 81f126f4a8 ("toolchain-scripts.bbclass: Use PYTHONPATH instead of PYTHONHOME") [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21Add .gitignoreJoshua Watt
Adds a .gitignore which ignores python artifact files, as these are now generated by the SDK tests [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-21Add SDK test case frameworkJoshua Watt
Adds the framework for testing SDKs that ties into the oeqa test framework. This allows commands like: $ bitbake -c testsdk ... to be run for MinGW SDKs. The test framework currently executes all tests under Wine in lieu of having access to actual Windows machines. [YOCTO #13020] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2018-11-20cmake: add support for building nativesdk-cmakeSamuli Piippo
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>
2018-11-20winpthreads: use posix threads library from mingw64Samuli Piippo
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>
2018-11-20Remove security flags from GCCPIESamuli 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>
2018-11-20README: Add myself as a maintainerJoshua Watt
Replace Juro, as he no longer maintains the layer. 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>