summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mingw32: Add WINDRES export for SDK4.3_M1Khem Raj2023-05-251-0/+3
| | | | | | | | | | | | | | GCC-13 has added code where windres is called on a rc file which includes winuser.h, this requires to call windres with -I option to point to right header directory duting gcc-candian-cross builds Fixes ../../../../../../../work-shared/gcc-13.1.0-r0/gcc-13.1.0/gcc/config/i386/utf8-mingw32.rc:1:10: fatal error: winuser.h: No such file or directory | 1 | #include <winuser.h> | | ^~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* meta-mingw: remove old overridesyocto-4.2.1mickledore-4.2.1Joe Slater2023-05-091-1/+1
| | | | | | | Adjust a comment. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw32-common: Add WINDMC exportRichard Purdie2023-05-031-0/+2
| | | | | | This is needed by qemu 8.0.0 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpfr: upgrade to 4.2.xyocto-4.2mickledore-4.24.2_M34.2_M2Alexandre Belloni2023-01-111-0/+0
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Mark master as compatible with mickledoreRichard Purdie2023-01-031-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tests: Map WORKDIR to W: to shorten pathsJoshua Watt2022-12-083-4/+16
| | | | | | | | | | | | | In some cases Wine (and Windows proper) struggle with very long paths; in particular the way that gcc invokes the 'cc1' subprogram is limited in how deep the path to the subprogram can be. This can cause issues when testing the SDK under wine, as the paths can easily get quite long and exceed this limit. In order to work around this, setup the Wine test context so that the W: drive maps to the SDK image ${WORKDIR}, which allows wine to effectively use paths relative to this directory making them significantly shorter. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Ensure layer libdir is seen by bitbake4.2_M1Richard Purdie2022-12-071-0/+2
| | | | | | | Use the new addpylib functionality to ensure our library code is seen by bitbake. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts-mingw32.bbclass: Remove trailing slash in SDKROOTMuhammad Hamza2022-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Modify toolchain-scripts-mingw32.bbclass to add a check in environment-setup script which removes trailing slash in path of SDKROOT. This is needed to avoid multiple adjacent slashes in paths which are produced by appending to SDKROOT. In reference to https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN naming convention used for paths and disk drives in windows should use a single backslash. Even though in some cases windows ignores double slashes in paths and it might work but it isn't documented as a right naming convention and does fail in some cases eg. dir command cannot interpret double slashes and fails. For example if my SDK is located in D: drive, the environment setup scripts sets "SDKROOT=D:\" and hence SDKTARGETSYSROOT gets set as "SDKTARGETSYSROOT=D:\\sysroots\armv8a-oe-linux" The introduced check removes additional slash in SDKROOT to set it as "SDKROOT=D:" so all other variables using SDKROOT get set without additional slash. Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Mark as compatible with langdaleyocto-4.1.4yocto-4.1.3yocto-4.1.2yocto-4.1.1yocto-4.1langdale-4.1.4langdale-4.1.3langdale-4.1.2langdale-4.1.1langdale-4.1langdaleRichard Purdie2022-09-291-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-libgnurx: update license name4.1_M3Kai Kang2022-08-241-1/+1
| | | | | | | | | | Update license name with SPDX identifier to eliminate warning: WARNING: mingw-libgnurx-2.5.1-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses LGPLv2.1 [obsolete-license] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Switch to HOSTTOOLS_NONFATALJoshua Watt2022-08-111-2/+1
| | | | | | | | | | | | | | | | The changes to split classes into global vs. image specific contexts has broken the inclusion of `wine` and `wineserver` host tools for testing MinGW SDKs. This is because testsdk is an image specific class and therefore it's inclusion is not detected globally and the wine host tools are not present so the SDK tests fail. Resolve this by using HOSTTOOLS_NONFATAL which will include the tools if they exist, but won't fail if they are not present. This does mean that users will now not know they need wine "up front" when doing a build, but it will instead fail later when they actually try to test the SDK, but there isn't really a better way to fix this. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* wayland: explicitly disable tests4.1_M2Alexander Kanavin2022-07-051-2/+1
| | | | | | | | This addresses the failure with wayland 1.21: | ../wayland-1.21.0/tests/meson.build:2:1: ERROR: Problem encountered: -Dtests=true requires -Dlibraries=true Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* libsdl2: disable gles2 support for class-nativesdkMarkus Volk2022-06-061-1/+1
| | | | | | | | | | | | | | this fixes: | Has header "sys/select.h" : NO | Checking whether type "fd_set" has member "fds_bits" : NO | Checking whether type "fd_set" has member "__fds_bits" : NO | | ../xorgproto-2022.1/include/X11/meson.build:19:4: ERROR: Problem encountered: Your fd_set is too weird. | | A full log can be found at /home/flk/build/poky/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-xorgproto/2022.1-r0/build/meson-logs/meson-log.txt Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-libtool: Handle oe-core libtool upgradeyocto-4.0.9yocto-4.0.8yocto-4.0.7yocto-4.0.6yocto-4.0.5yocto-4.0.4yocto-4.0.3yocto-4.0.2yocto-4.0.13yocto-4.0.12yocto-4.0.11yocto-4.0.10yocto-4.0.1yocto-4.0kirkstone-4.0.9kirkstone-4.0.8kirkstone-4.0.7kirkstone-4.0.6kirkstone-4.0.5kirkstone-4.0.4kirkstone-4.0.3kirkstone-4.0.2kirkstone-4.0.13kirkstone-4.0.12kirkstone-4.0.11kirkstone-4.0.10kirkstone-4.0.1kirkstone-4.04.1_M1Richard Purdie2022-03-181-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: adjust for dbus 1.14Alexander Kanavin2022-03-091-0/+1
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Update to match variable renaming in OE-Core3.5_M3Richard Purdie2022-02-171-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to kirkstone releaseRichard Purdie2022-02-171-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Disable parallel buildKhem Raj2022-02-131-0/+4
| | | | | | | | binutils 2.38 brings up a parallel build issue, work it out by disabling parallel build for now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Upgrade runtime/headers/winpthreads to 9.0.0Khem Raj2022-02-136-92/+1
| | | | | | | | | | Drop upstreamed fixes for rdtsc [1] __udivmoddi4[2] [1] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/6a0e9165008f731bccadfc41a59719cf7c8efc02/ [2] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/ab0fa5ad3c67d634fd7754d9473d1bb7051f9bf0/ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grpc: remove nl2 requirement since it is optionalSinan Kaya2022-02-131-0/+3
| | | | | Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* c-ares: disable shared build as it is brokenSinan Kaya2022-02-131-0/+2
| | | | | Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* re2: disable shared build as it is brokenSinan Kaya2022-02-131-0/+2
| | | | | Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* curl: Fix after openssl recipe changes to PACKAGECONFIG3.5_M2Richard Purdie2022-01-111-1/+2
| | | | | | | The oe-core curl recipe changed PACKAGECONFIG options around, update the bbappend to match. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: update for recipe changes in oe-core3.5_M1Ross Burton2021-11-131-15/+0
| | | | | | | | The tools now build for MinGW so we don't need to disable them, but as ncurses still fails we should continue to remove the bash RDEPENDS. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Add missing dependency on libgnurxKhem Raj2021-11-071-0/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* abseil-cpp: disable shared build as it is brokenyocto-3.4.4yocto-3.4.3yocto-3.4.2yocto-3.4.1yocto-3.4honister-3.4.4honister-3.4.3honister-3.4.2honister-3.4.1honister-3.43.4_M3honisterSinan Kaya2021-08-171-0/+1
| | | | | Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* grpc: static link tools when generating SDKSinan Kaya2021-08-171-0/+2
| | | | | | | | | | | | [libprotobuf ERROR google/protobuf/descriptor_database.cc:641] File already exists in database: google/protobuf/descriptor.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Switch to static linkage per upstream recommendation. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* protobuf-c: static link when generating sdkSinan Kaya2021-08-171-0/+1
| | | | | | | | | | | | [libprotobuf ERROR google/protobuf/descriptor_database.cc:641] File already exists in database: google/protobuf/descriptor.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Switch to static linkage per upstream recommendation. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* protobuf: static link tools when generating sdkSinan Kaya2021-08-171-0/+1
| | | | | | | | | | | | | | Dynamically linked protoc.exe is failing as follows: [libprotobuf ERROR google/protobuf/descriptor_database.cc:641] File already exists in database: google/protobuf/descriptor.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Switch to static linkage per upstream recommendation. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* conf/layer.conf: use BBFILES_DYNAMIC for dynamic layersSinan Kaya2021-08-171-1/+6
| | | | | | | | Add a dynamic BBFILES pattern so that patches for openembedded-layer are conditionally applied only if meta-oe is present. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* binutils: Package static libdep linker pluginsSamuli Piippo2021-08-131-0/+2
| | | | | | | this is new plugin added in binutils 2.36 Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Mark the layer as compatible with honisterRichard Purdie2021-07-301-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-mingw: Override syntax conversion manual fixesRichard Purdie2021-07-302-3/+3
| | | | | | | Fix a coupld of mis-converted lines from the automated override conversion script. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-mingw: Convert to new override syntaxRichard Purdie2021-07-3039-116/+116
| | | | | | | | This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn2: package all files3.4_M2Samuli Piippo2021-06-301-0/+1
| | | | | | | | Include .def files to the -dev package to fix QA Issue: nativesdk-libidn2: Files/directories were installed but not shipped in any package. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* Disable debuginfodJoshua Watt2021-06-162-0/+3
| | | | | | | Disables debuginfod when using MingGW. This feature brings in unbuildable dependencies and can't be used. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* zstd: Fix MinGW builds3.4_M1Joshua Watt2021-05-261-0/+2
| | | | | | Fixes the MinGW builds for zstd Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw-libgnurx: Add recipeKhem Raj2021-05-043-0/+181
| | | | | | | | This implements glibc regex and will be used by many packages e.g. flex, therefore add recipe Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* nativesdk-mingw-w64-winpthreads: Implement __udivmoddi4Khem Raj2021-05-012-0/+54
| | | | | | | Fixes build with gcc 11+ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64-runtime,mingw-w64-winpthreads: Upgrade to 8.0.0Khem Raj2021-05-014-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw-w64: Check for __builtin_ia32_rdtscKhem Raj2021-04-132-0/+35
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* go: add environment setup batch file for goPeter Morrow2021-04-131-0/+9
| | | | | | | | 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>
* layer.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.3hardknott-25.0.03.3_M3hardknottRichard Purdie2021-03-151-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mingw: Remove 'nativesdk-glibc-utils' for windows sdkamann2021-03-091-0/+1
| | | | | | | | | | | | | 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>
* libgcrypt: drop 1.8.x append and patchAlexander Kanavin2021-03-022-52/+0
| | | | | | | | | 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>
* README: Add instructions for configuring git repo for sending patchesRichard Purdie2021-02-031-0/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Update to handle dbus-tools changeRichard Purdie2021-01-281-1/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmpc: 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 Raj2020-11-161-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* layer.conf: Update to gatesgarthyocto-3.2gatesgarth-24.0.0Richard Purdie2020-10-161-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ninja: configure for mingw platform3.2_M3Samuli Piippo2020-09-212-0/+9
| | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>