zephyr/cmake
Patryk Duda 3a97fe256c clang: Provide --target option when determining path to runtime library
Clang/LLVM is natively a cross-compiler, so one set of applications can
compile code to all supported targets. The default target can be changed
using '--target' option.

CMake supports this type of compilers. To change compiling target, one
should set CMAKE_C_COMPILER_TARGET accorgindly.

The '--target' option has impact on the path to clang-rt library
returned by compiler when run with '--print-libgcc-file-name' option.
Without specifying target, Clang will return path to runtime library of
the host target (e.g. x86_64-pc-linux-gnu).

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2023-08-01 11:36:47 +02:00
..
app
bintools ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
compiler clang: Provide --target option when determining path to runtime library 2023-08-01 11:36:47 +02:00
emu Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
flash west: runners: uf2: Add new UF2 runner. 2023-02-20 12:50:38 +01:00
ide
linker linker: Introduce linker-tool-lld.h 2023-07-05 12:33:42 +00:00
linker_script Revert "cmake: linker: arm: put RAM sections in RAM region" 2023-08-01 10:47:31 +02:00
makefile_exports
modules Revert "cmake: linker: arm: put RAM sections in RAM region" 2023-08-01 10:47:31 +02:00
reports
sca/sparse cmake: add sparse support to the new SCA infrastructure 2023-01-27 20:28:58 +09:00
toolchain llvm: Add ARMv6-M, ARMv7-M, ARMv8-M Mainline and Baseline targets 2023-08-01 11:08:36 +02:00
usage
util
cfb.cmake
extra_flags.cmake cmake: fix improper use of separate_arguments 2022-09-05 10:22:05 +02:00
gcc-m-cpu.cmake soc: arm64: Add agilex5 soc folder and its configurations 2023-07-25 16:58:01 +00:00
gcc-m-fpu.cmake cmake: gcc: Fix Cortex-R52 FPU type 2022-10-19 00:28:33 +09:00
gen_version_h.cmake cmake: generalize VERSION infrastructure for better reuse 2023-05-17 13:56:58 +02:00
hex.cmake
kobj.cmake
mcuboot.cmake cmake: mcuboot: Add warning if missing Kconfig signing options 2023-05-26 09:07:49 -04:00
package_helper.cmake cmake: update package helper description to use EXTRA_CONF_FILE var 2023-05-23 16:40:21 +02:00
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake cmake: rework of host tools and generic toolchain handling 2022-09-01 15:59:43 +02:00
vif.cmake USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00