zephyr/cmake/compiler/gcc
Danny Oerndrup faa72b7015 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 <daor@demant.com>
2019-06-12 10:16:17 +02:00
..
generic.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target.cmake cmake: Toolchain abstraction: Introduce toolchain_cc_warning_dw_[1-3] 2019-05-14 18:19:18 +02:00
target_asm.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_baremetal.cmake cmake: Toolchain abstraction: Introducing toolchain_cc_freestanding 2019-06-12 10:16:17 +02:00
target_cpp.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_freestanding.cmake posix: cmake: Abstract freestanding options 2019-04-30 09:33:54 -04:00
target_optimizations.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_security_canaries.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_security_fortify.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_warnings.cmake cmake: no-address-of-packed-member is not supported in older compilers 2019-06-04 13:08:05 -04:00