zephyr/cmake/compiler/gcc
Nikolay Agishev a56777263e compiler: gcc: add support for tuning mcpu option for ARC targets
ARC processors are highly configurable, so ARC toolchain supports
big amount of mcpu options for all that HW configurations.
As difference in many configurations among the same processor
family usually doesn't affect Zephyr code we don't want
to create Kconfig option for each possible CPU configuration
(just to map Kconfig option to correspondent mcpu value
in 'cmake/gcc-m-cpu.cmake').
Instead we prefer being able to set proper mcpu value
individually for any ARC SoC and using 'cmake/gcc-m-cpu.cmake'
just for reasonable defaults.

To apply SoC-related changes for build-options on early stages of building
'tune_build_ops.cmake' should be created in appropriate SoC directory.
Example:
 ./soc/arc/snps_qemu/tune_build_ops.cmake
File content:
 set(GCC_ARC_TUNED_CPU hs4xd)

Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
2022-09-08 10:39:21 +02:00
..
compiler_flags.cmake xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00
generic.cmake
target.cmake compiler: gcc: add support for tuning mcpu option for ARC targets 2022-09-08 10:39:21 +02:00
target_arc.cmake compiler: gcc: add support for tuning mcpu option for ARC targets 2022-09-08 10:39:21 +02:00
target_arm.cmake arch: introduce config DCLS 2022-08-04 12:51:25 +09:00
target_arm64.cmake
target_mips.cmake
target_riscv.cmake riscv: Introduce BitManip extensions 2022-08-29 16:57:18 +02:00
target_sparc.cmake
target_x86.cmake