zephyr/cmake/modules
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
..
arch.cmake
basic_settings.cmake
boards.cmake cmake: modules: add support for board extensions 2023-08-21 16:28:22 +02:00
ccache.cmake
configuration_files.cmake cmake: modules: configuration_files: Force set app config dir 2023-09-01 17:44:59 +02:00
doc.cmake
dts.cmake dts: drop HAS_DTS 2023-10-20 12:18:17 -07:00
extensions.cmake cmake: extensions: Check status of "zephyr,memory-region" DT nodes 2023-10-11 22:36:13 +03:00
Findarmclang.cmake cmake: armclang version detection 2023-09-13 16:23:30 +02:00
FindBabbleSim.cmake
FindDeprecated.cmake cmake: update board and soc linker script handling 2023-11-03 11:01:23 +01:00
FindDtc.cmake
FindGnuLd.cmake cmake: modules/FindGnuLd: cache variable GNULD_VERSION_STRING 2023-09-01 09:02:38 -04:00
FindHostTools.cmake cmake: modules: host tools: Bump minimum version to 0.16 2023-09-12 13:47:23 +02:00
FindLlvmLld.cmake
FindoneApi.cmake
FindScaTools.cmake
FindTargetTools.cmake
FindZephyr-sdk.cmake
generated_file_directories.cmake
kconfig.cmake cmake: expose TOOLCHAIN_HAS_PICOLIBC to kconfig 2023-09-13 17:36:46 -04:00
kernel.cmake cmake: warn the user that the toolchain cache hides errors 2023-09-22 13:42:21 +02:00
pre_dt.cmake
python.cmake cmake: python module cleanup. 2023-08-21 13:21:52 +02:00
root.cmake
shields.cmake
snippets.cmake
soc.cmake
unittest.cmake unittest: Generate symbol for existent modules 2023-10-27 13:33:30 -05:00
user_cache.cmake
version.cmake cmake: version: Fix example comment 2023-09-01 17:44:28 +02:00
west.cmake cmake: cleanup old west version support 2023-08-24 10:47:00 +02:00
zephyr_default.cmake cmake: add ZephyrAppConfiguration package 2023-08-17 10:36:45 +02:00
zephyr_module.cmake