zephyr/cmake/linker
Torsten Rasmussen 26b649ea53 cmake: update board and soc linker script handling
This commit updates the handling of board and SoC linker scripts.

Several SoCs creates a linker.ld file which sole purpose is to include
another arch common linker script, often with content like this:

    #include <arch>/linker.ld

instead of 100+ SoC specific linker.ld files containing just a single
include line of above structure, then this commit introduces two now
CMake variables, BOARD_LINKER_SCRIPT and SOC_LINKER_SCRIPT.

This allows the board and SoC CMake code to point directly to a common
linker script instead of creating a dummy linker.ld file doing this.

This removes the need for several dummy linker.ld file.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2023-11-03 11:01:23 +01:00
..
arcmwdt device: use iterable sections 2023-05-12 12:01:10 +02:00
armlink cmake: armlink: update CMake library to arch__arm__core__cortex_m 2023-09-13 14:37:08 +01:00
ld cmake: update board and soc linker script handling 2023-11-03 11:01:23 +01:00
lld llvm: Add support for LLVM libc++ C++ Standard Library 2023-10-20 14:59:31 +02:00
xt-ld device: use iterable sections 2023-05-12 12:01:10 +02:00
linker_flags_template.cmake cmake: Add partial linking abstraction 2023-06-23 09:05:14 +02:00
linker_script_common.cmake