Please sign in to comment.
cmake: Toolchain abstraction: Allow for out-of-tree cmake includes
This allows for inclusion of out-of-tree toolchain cmake files relating to compiler and linker for both target and generic toolchains. The base path used was ZEPHYR_BASE, instead of TOOLCHAIN_ROOT, thus making it impossible to load the out-of-tree toolchain specific cmake files. In addition, the generic toolchain may now specify a generic cmake file for the linker, similar to the target toolchain linker. The intent here is to abstract Zephyr's dependence on toolchains, thus allowing for easier porting to other, perhaps commercial, toolchains and/or usecases. No functional change expected. Signed-off-by: Danny Oerndrup <firstname.lastname@example.org>
- Loading branch information...
Showing with 4 additions and 3 deletions.