Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zephyr-core/zephyr-kernel: Use the upstream "cross-compile" toolchain
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 <[email protected]> Signed-off-by: Naveen Saini <[email protected]>
- Loading branch information