Please sign in to comment.
cmake: Toolchain abstraction: Introducing toolchain_cc_freestanding
The macro is intended to abstract the -ffreestanding compiler option which tells the compiler that this is a bare metal env. The option is compiler and thus toolchain specific, but this macro leaves it up to the toolchain to decide the value of the option. 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 10 additions and 1 deletion.