zephyr/cmake/compiler
Keith Packard 424590f7d8 cmake/compiler: Add linker_script compiler property
This property specifies the flag used to pass the linker script filename
through the compiler front end tot he linker.

For clang, we use the general purpose linker-pass through -Wl flag with -T:
-Wl,-T as clang doesn't support -T.

For gcc, we use -T directly as this keeps the picolibc specs file from
inserting the picolibc linker script as well.

If the compiler doesn't specify a value, we continue to use -Wl,-T as
before.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-07-06 11:43:09 +02:00
..
arcmwdt ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
armclang cmake: armclang: Handle -mfpu=auto used by cortex-m55 2023-04-27 14:16:52 +02:00
clang cmake/compiler: Add linker_script compiler property 2023-07-06 11:43:09 +02:00
gcc cmake/compiler: Add linker_script compiler property 2023-07-06 11:43:09 +02:00
host-gcc
icx
xcc
xt-clang
compiler_features.cmake
compiler_flags_template.cmake cmake/compiler: Add linker_script compiler property 2023-07-06 11:43:09 +02:00