zephyr/cmake
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
..
app
bintools ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
compiler cmake/compiler: Add linker_script compiler property 2023-07-06 11:43:09 +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 cmake/linker_script: Fix cmake linker scripts to define _end 2023-06-28 08:41:02 +00:00
makefile_exports
modules cmake: remove extraneous newlines in build output 2023-06-30 16:08:42 +02:00
reports
sca/sparse cmake: add sparse support to the new SCA infrastructure 2023-01-27 20:28:58 +09:00
toolchain ARC: MWDT: cleanup search path handling 2023-06-29 10:03:35 +00:00
usage
util
cfb.cmake scripts: move gen_cfb_font_header.py to scripts/build 2022-07-12 10:03:45 +02:00
extra_flags.cmake cmake: fix improper use of separate_arguments 2022-09-05 10:22:05 +02:00
gcc-m-cpu.cmake ARC: Add HS4x support 2023-05-02 16:54:24 +02: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 scripts: move gen_kobject_list.py to scripts/build/gen_kobject_list.py 2022-07-12 10:03:45 +02:00
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