aboutsummaryrefslogtreecommitdiffstats
path: root/meta-zephyr-core
AgeCommit message (Collapse)Author
2024-03-18layer.conf: update LAYERSERIES_COMPAT to use scarthgapNaveen Saini
Drop compatibility to nanbield. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-03-07zephyr-sdk: Upgrade to version 0.16.5-1Naveen Saini
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.5-1 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-03-07zephyr-kernel: Add support for v3.6.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.6.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-11-07x86: Refresh patch to include efi fix for up_squared boardNaveen Saini
Include fix for generating efi binary file for the up_squared board, which was missed in v3.5 upgrade. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-11-06zephyr-sdk: Upgrade to version 0.16.3Naveen Saini
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.3 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06zephyr-kernel: Drop support for v3.4.0Naveen Saini
v3.5.0 is available, now drop support for old version. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06zephyr-kernel: Add support for v3.5.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.5.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-11-06zephyr-core/zephyr-kernel-tests: remove now passing tests from exclude listJon Mason
Retested the zephyr kernel tests to verify which ones are now building and which ones are now passing CI on qemu machines. They are organized as follows: * Any test that fails to be configured is added to a list in zephyr-kernel-test.inc * Any test that fails to compile for all machines is added to a list in zephyr-kernel-test.inc * Any test that fails to compile for a specific machine is added to a machine specific list in zephyr-kernel-test.inc * Any test that fails CI is added to a list in the relevant machine yml file Hopefully by making this way of doing things uniform, it will enable better testing and CI. It is worth noting that with this version of zephyr, gen_isr_table and other tests are now working for a number of machines. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-09-13layer.conf: update LAYERSERIES_COMPAT to use nanbieldnanbieldNaveen Saini
Drop langdale and mickledore. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-06-26zephyr-sdk: Upgrade to version 0.16.1Naveen Saini
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.1 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-06-26zephyr-kernel: Drop support for v3.3.0Naveen Saini
v3.4.0 is available, now drop support for old version. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-06-26zephyr-kernel: Add support for v3.4.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.4.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2023-05-31zephyr-kernel-src-3.3.0: fix build with gcc-13Naveen Saini
Configuration error: | -- Configuring done (4.9s) | CMake Error in CMakeLists.txt: | Target "zephyr_interface" contains relative path in its | INTERFACE_INCLUDE_DIRECTORIES: | | "include-fixed" With GCC-13, limits.h and syslimits.h header files are always being installed to include folder. https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=be9dd80f933480 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-05-31zephyr-core/zephyr.bbclass: Fix do_menuconfigTan Wen Yan
Update do_menuconfig to run ninja menuconfig as the default CMake generator is ninja. Also fix directory path for .config. [YOCTO #15040] Signed-off-by: Tan Wen Yan <wen.yan.tan@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-05-15zephyr-kernel: Include efi binary generation fix for Raptor Lake tooNaveen Saini
Extend patch to include efi binary generation issue fix for x86 Raptor Lake board too. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/zephyr-kernel: Fix arm32 binutils 2.40 incompatibilityPeter Hoyes
Armv7 boards are currently failing with binutils 2.40 if certain statements are combined on the same line without a semicolon. Introduce a patch to fix this by inserting a semicolon. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/zephyr-kernel: Use SHA for zcbor modulePeter Hoyes
Re-run the generate-version.py script for 3.3.0 to convert the tag for zcbor to a SHA. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/scripts: Resolve West revisions to SHAsPeter Hoyes
The West manifest in Zephyr 3.3 contains a tag (instead of a SHA) for zcbor [1]. OE standard practice is to always specifiy revisions using SHAs, so in the Jinja template, use the new resolve_revision filter to resolve any tags. [1] https://github.com/zephyrproject-rtos/zephyr/pull/51219#discussion_r998123145 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-04-20zephyr-core/scripts: Resolve Zephyr tag using git ls-remotePeter Hoyes
To simplify the logic to resolve Git tags to SHAs, and so that it works with non-Github repositories, use git ls-remote instead of the Github API. Make the resolve_revision function available as a Jinja filter and move the version resolution to the template. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-24zephyr-core/zephyr-kernel: Remove the downstream "yocto" toolchainPeter Hoyes
The "yocto" toolchain requires a downstream patch to be carried and maintained. The upstream "cross-compile" toolchain is equivalent so this is no longer needed. Remove the toolchain-specific inc file and the downstream patch. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-24zephyr-core/zephyr-kernel: Use the upstream "cross-compile" toolchainPeter Hoyes
Zephyr upstream contains CMake configuration for a "cross-compile" toolchain for "other cross compilers" which works with the Yocto-built toolchain out-of-the-box, so use this instead of the "yocto" toolchain, which requires a downstream patch to be carried. The Yocto-built toolchain does not support --print-sysroot so that toolchains can be shared between multiple builds with different sysroots, so manually set SYSROOT_DIR to the staging directory. Use the "cross-compile" toolchain by default. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23zephyr-sdk: Upgrade to version 0.15.2Peter Hoyes
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.2 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23zephyr-kernel: Drop support for v3.1.0 and v3.2.0Peter Hoyes
Now that v3.3.0 is available, drop support for previous versions. Rename the downstream patches and drop the backport. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-02-23zephyr-kernel: Add support for v3.3.0Peter Hoyes
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.3.0 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-01-26zephyr-core/zephyr-kernel: Add ZEPHYR namespace to SRC_URI variablesPeter Hoyes
Certain SRC_URI_* variables may collide with other recipes, e.g. SRC_URI_TRUSTED_FIRMWARE_A. Namespace these variables under SRC_URI_ZEPHYR so that the SRC_URIs of Zephyr modules can be independently tweaked from local.conf or the environment. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2023-01-05layer.conf: update LAYERSERIES_COMPAT for mickledoreNaveen Saini
oe-core switched to mickedore in: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Drop support for old releases. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-21zephyr-kernel/3.1: update to latest commitNaveen Saini
Recent commits have CVE-2022-2741 fixed. Also backported CVE-2022-2993 fix. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-19zephyr-core: Add addpylib declarationPeter Hoyes
OE-core 4901c9d471cab99d52876842980222ce271b66e4 "base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES" means that ${LAYERDIR}/lib is no longer searched by default when loading test controllers. meta-zephyr-core defines some custom test controllers for testing FVPs, so add an addpylib directive to meta-zephyr-core/conf/layer.conf to fix testimage. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-19zephyr-core/zephyr-kernel: Inhibit packaging steps with the Zephyr SDKPeter Hoyes
The packaging step includes post-processing of elf files using objcopy and strip from the Yocto toolchain. When using the Zephyr SDK, the Yocto toolchain is explicitly not built so it is not possible to run these steps. Therefore, inhibit them in zephyr-toolchain-zephyr.inc Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-12-19zephyr-core/zephyr-kernel: Use layer-relative require for version filePeter Hoyes
The inclusion of the Zephyr version-specific .inc file is currently using a local include. Change to be layer-relative to support including files in other layers. Change to use 'require' instead of 'include' so that an earlier error is printed if the file does not exist. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-11-14newlib: add bbappendNaveen Saini
Build newlib library to be thread-safe in multithreaded environment. https://github.com/zephyrproject-rtos/zephyr/pull/21518 https://github.com/zephyrproject-rtos/zephyr/issues/21519 https://github.com/zephyrproject-rtos/zephyr/pull/36201 https://sourceware.org/legacy-ml/newlib/2016/msg01165.html https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=bd54749095ee45d7136b6e7c8a1e5218749c87b6 Error log: newlib/libc-hooks.c:310:1: note: in expansion of macro 'BUILD_ASSERT' BUILD_ASSERT(IS_ENABLED(_RETARGETABLE_LOCKING), "Retargetable locking must be enabled"); Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-11-14arc: drop obsolete recipes and bbappendsNaveen Saini
Remove recipes and bbappends which are not being used. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-11-14zephyr-sdk: upgrade 0.14.2 -> 0.15.1Naveen Saini
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.1 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-11-14zephyr-kernel-src: drop support for v2.7.3Naveen Saini
Support for zephyr v3.2.0 is already being added. So time to drop it. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-11-14zephyr-kernel-src: add support for v3.2.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v3.2.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-10-04zephyr-core/zephyr-kernel: Implement do_installPeter Hoyes
Install the Zephyr binaries to ${D}/firmware prior to copying them to ${DEPLOYDIR}. Implementing do_install has three advantages: * In use-cases when the Zephyr application is not the final artifact (e.g. when signing or using additional firmware), other recipes can pick up the Zephyr binary from the sysroot instead of DEPLOY_DIR_IMAGE. * It may sometimes make sense to install the binaries in a Linux filesystem (e.g. to be run by a hypervisor). * OE-core's QA checks run on the packaged binaries. There are currently two QA checks that fail, so add these to INSANE_SKIP for now. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04zephyr-core/zephyr-kernel: Refactor zephyr-image and zephyr-samplePeter Hoyes
At the moment: * zephyr-image.inc depends on zephyr-sample.inc, which doesn't really make sense. * zephyr-image.inc inherits testimage, even though it may not be required. * Out-of-tree Zephyr apps have to include zephyr-sample.inc in order to deploy the binaries, which is confusingly named if your application isn't a "sample". Do some minor refactoring to untangle the above. Now: * zephyr-sample.inc depends on zephyr-image.inc * zephyrtest.bbclass inherits testimage. * Out-of-tree Zephyr apps can include zephyr-image.inc Additionally, remove QEMU_BIN_PATH, as recent Zephyr versions now pick up the QEMU binary automatically from PATH. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04zephyr-core/qemu: Remove bbappendPeter Hoyes
This looks historical and is no longer required for the tested builds. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04layers: add langdale compatibilityJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04zephyr-openthread-rcp: Support nrf52840-mdk-usb-dongle machinePhilippe Coval
This makerdiary board can be a fallback option for Oniro's gateway-blueprint I've been tested it myself along my single arduino-nano node Origin: https://gitlab.eclipse.org/eclipse/oniro-core/meta-zephyr/-/merge_requests/22 Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6 Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread Forwarded: https://lists.yoctoproject.org/g/yocto/search?q=posterid:6590488 Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop> Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-10-04qemuzephyrrunner: allow to pass QB_GRAPHICS to qemu cmdlineNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-28zephyr-openthread-rcp: Support nrf52840dk-nrf52840 machinePhilippe Coval
This Nordic reference design can be a fallback option for Oniro's gateway-blueprint I've been tested it myself along my single arduino-nano node Origin: https://gitlab.eclipse.org/eclipse/oniro-core/meta-zephyr/-/merge_requests/22 Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6 Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/zephyr-kernel: Update dtc.patch Upstream-StatusPeter Hoyes
The patch dtc.patch used by 2.7.3 has been accepted upstream, so it is now a Backport. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/classes: Remove West-based logic from zephyr.bbclassPeter Hoyes
For a given release tag, ZEPHYR_MODULES is constant. It is therefore now populated by the generate-version.py script, the output of which is stored in the repository, so the build-time logic to populate ZEPHYR_MODULES is no longer needed. Remove the do_get_zmods task, but retain the Python dependencies which are still required by Python scripts in the Zephyr repository that are trigerred by CMake. The above means that West is now only required as a host dependency to run generate-version.py, so remove the West Yocto recipe. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/zephyr-kernel: Migrate to script-driven version filesPeter Hoyes
This commit uses the output of meta-zephyr-core/scripts/generate-version.py for both the 2.7.3 and 3.1.0 versions. Rename a patch for for v2.7.3 to match the filename expected by the generated configuration. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-core/scripts: Introduce script to generate new versionsPeter Hoyes
Add a Python script which can be used to automatically generate configuration for new Zephyr versions. This script: * Takes the Zephyr version as a single argument * Uses the Github API to find the version tag's SHA1 * Uses West as a library to parse the version's manifest file * Uses a Jinja template to generate a .inc file for the version * Outputs the .inc file directly into the zephyr-kernel directory The generated .inc file includes: * SRCREVs for all modules * Separate SRC_URI_x variables for each module, to make it easier to swap out a specific URL for a fork or mirror * A version-specific SRC_URI, containing only the modules defined in the release * A list of the ZEPHYR_MODULES Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-21zephyr-kernel/2.7: update to zephyr v2.7.3Naveen Saini
003de78ce0 release: Zephyr 2.7.3 9502d500b6 release: security: Notes for 2.7.3 2a88e08296 release: update v2.7.3 release notes e1ee34e55c drivers: sensor: sm351lt: Fix global thread triggering bug 2ad1ef651b Bluetooth: host: Fix L2CAP reconfigure response with invalid CID 089675af45 Bluetooth: host: Fix L2CAP reconfigure response with invalid MTU 03ff0d471e net: route: Fix pkt leak if net_send_data() fails cd96136bcb boards: nucleo_wb55rg: Fix documentation about BLE binary compatibility 567fda57df tests: drivers: can: api: add test for RTR filter matching b14f356c96 drivers: can: loopback: check frame ID type and RTR bit in filters 874d77bc75 drivers: can: mcux: flexcan: fix handling of RTR frames ec0befb938 drivers: can: mcan: acknowledge all received frames 273e90a86f scripts: release: list_backports: use older python dict merge method 59dc65a7b4 ci: backports: check if a backport PR has a valid issue 8ff8cafc18 scripts: release: list_backports.py ba07347b60 scripts: release: use GITHUB_TOKEN and start_date in scripts e423902617 tests: posix: pthread: test for pthread descriptor leaks 018f836c4d posix: pthread: consider PTHREAD_EXITED state in pthread_create f4466c4760 tests: cpp: cxx: Add qemu_cortex_a53 as integration platform 9a5cbe3568 tests: cpp: cxx: Test with various types of libc 5b7b15fb2d tests: cpp: cxx: Add dynamic memory availability test for static init e5a92a1fab tests: cpp: cxx: Add static global constructor invocation test 74f0b6443a lib: libc: newlib: Initialise libc heap during POST_KERNEL phase 6c16b3492b lib: libc: minimal: Initialise libc heap during POST_KERNEL phase 1831431bab lib: posix: semaphore: use consistent timebase in sem_timedwait 765f63c6b9 cmake: remove xtensa workaround in Zephyr toolchain code. 062306fc0b cmake: zephyr toolchain code cleanup 8fcf7f1d78 Revert "cmake: Zephyr sdk backward compatibility with 0.11.1 and 0.11.2" f06b3d922c Bluetooth: Controller: Fix PHY update for unsupported PHY b75c012c55 drivers: spi: stm32 spi with dma must enable cs after periph 1efe6de3fe drivers: i2c: Fix infinite recursion in driver unregister function 39270ed4a0 Bluetooth: Mesh: Fix segmentation when sending proxy message 81ffa550ee Bluetooth: Mesh: Check SegN when receiving Transaction Start PDU 8c2965e017 Bluetooth: Mesh: add check for rx buffer overflow in pb adv 7aa38b4ac8 drivers: can: m_can: fix alignmed issues 6dd320f791 release: update v2.7.2 release notes ecac165d36 logging: shell: fix shell stats null pointer dereference 132d90d1bc tests/bluetooth/tester: Refactor Read UUID callback 58356313ac coredump: adjust mem_region find in gdbstub 99cfd3e4d7 Bluetooth: Controller: Fix per adv scheduling issue 780588bd33 edac: ibecc: Add support for EHL SKU13, SKU14, SKU15 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Tested-by: Jon Mason <jon.mason@arm.com>
2022-09-08zephyr-kernel: Add 'zephyr' toolchain variantPeter Hoyes
Add an option to build applications using the Zephyr SDK by specifying ZEPHYR_TOOLCHAIN_VARIANT="zephyr". This mode works with the zephyr or poky distros (TCMODE is ignored), allowing Zephyr applications to be built alongside a Linux stack. Provide a toolchain-specific inc file for the Zephyr SDK, which configures the dependencies and CMake appropriately. Add Zephyr toolchain variant to CI configuration for qemu-cortex-a53, qemu-cortex-m3 and qemu-x86. Update README.txt Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-08zephyr-sdk: Add recipe to download and build the Zephyr SDKPeter Hoyes
The Zephyr SDK (https://github.com/zephyrproject-rtos/sdk-ng) provides pre-built toolchains for all of Zephyr's supported architectures. Add a recipe to download SDK v0.14.2, in preparation for adding an option to build Zephyr applications using this toolchain instead of the Yocto-built one. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-09-08zephyr-kernel: Factor out Yocto toolchain specific variablesPeter Hoyes
Create ZEPHYR_TOOLCHAIN_VARIANT variable with an unchanged default value of 'yocto'. To support providing different configuration for different toolchain variants, require a toolchain-specific inc file. Create zephyr-toolchain-yocto.inc, and factor out all variables that are specific to building using the Yocto toolchain. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Tested-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>