zephyr/soc/arc/snps_qemu
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
..
CMakeLists.txt compiler: gcc: add support for tuning mcpu option for ARC targets 2022-09-08 10:39:21 +02:00
Kconfig ARC: boards: QEMU: hs6x: minor description polish 2022-08-22 10:23:14 +00:00
Kconfig.defconfig ARC: boards: ARCv3: add qemu_arc_hs5x board 2022-08-22 10:23:14 +00:00
Kconfig.defconfig.em
Kconfig.defconfig.hs
Kconfig.defconfig.hs5x ARC: boards: ARCv3: add qemu_arc_hs5x board 2022-08-22 10:23:14 +00:00
Kconfig.defconfig.hs6x
Kconfig.soc
linker.ld