mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 21:51:56 +00:00
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> |
||
---|---|---|
.. | ||
arch.cmake | ||
basic_settings.cmake | ||
boards.cmake | ||
ccache.cmake | ||
configuration_files.cmake | ||
doc.cmake | ||
dts.cmake | ||
extensions.cmake | ||
Findarmclang.cmake | ||
FindBabbleSim.cmake | ||
FindDeprecated.cmake | ||
FindDtc.cmake | ||
FindGnuLd.cmake | ||
FindHostTools.cmake | ||
FindLlvmLld.cmake | ||
FindoneApi.cmake | ||
FindScaTools.cmake | ||
FindTargetTools.cmake | ||
FindZephyr-sdk.cmake | ||
generated_file_directories.cmake | ||
kconfig.cmake | ||
kernel.cmake | ||
pre_dt.cmake | ||
python.cmake | ||
root.cmake | ||
shields.cmake | ||
snippets.cmake | ||
soc.cmake | ||
unittest.cmake | ||
user_cache.cmake | ||
version.cmake | ||
west.cmake | ||
zephyr_default.cmake | ||
zephyr_module.cmake |