zephyr/cmake/compiler
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
..
arcmwdt xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00
armclang cmake: gcc: target_arm: Support advanced floating-point options 2022-05-05 12:03:27 +09:00
clang cmake: filter not supported C++ compilation flags 2022-07-07 10:26:22 +00:00
gcc compiler: gcc: add support for tuning mcpu option for ARC targets 2022-09-08 10:39:21 +02:00
host-gcc cmake: Populate var CMAKE_GCOV 2021-09-02 19:44:00 -04:00
icx cmake: fix isystem_include_dir path for windows 2021-04-02 13:36:49 -04:00
xcc cmake: fix use of unsupported -fno-pie with xcc 2022-08-29 08:40:29 -04:00
xcc-clang xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00
compiler_features.cmake cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
compiler_flags_template.cmake xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00