-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: introduce gnu and llvm detection when Zephyr toolchain is unset
Zephyr SDK v0.18.0 provides both GNU and LLVM based toolchain. Users may install one or both toolchains. If ZEPHYR_TOOLCHAIN_VARIANT is not defined, then we lookup first GNU based toolchain, and if found, use this toolchain. Else lookup LLVM based toolchain and use that one. Signed-off-by: Torsten Rasmussen <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters