cmake: arm: update arm SoC to use SOC_LINKER_SCRIPT variable

This commit updates all arm SoCs to set SOC_LINKER_SCRIPT CMake
variable to point to active linker script directly.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2023-10-27 23:34:14 +02:00 committed by Carles Cufí
commit 4812884f84
204 changed files with 192 additions and 1053 deletions

View file

@ -11,3 +11,5 @@ endif()
zephyr_library_sources_ifdef(CONFIG_POWEROFF poweroff.c)
zephyr_linker_sources_ifdef(CONFIG_HAS_TI_CCFG SECTIONS ccfg.ld)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

View file

@ -1,8 +0,0 @@
/* linker.ld - Linker command/script file
*
* Copyright (c) 2019 Brett Witherspoon
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>

View file

@ -9,3 +9,5 @@ zephyr_library_sources_ifdef(CONFIG_PM power.c)
zephyr_library_sources_ifdef(CONFIG_PM_DEVICE power.c)
zephyr_linker_sources_ifdef(CONFIG_HAS_TI_CCFG SECTIONS ccfg.ld)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

View file

@ -1,8 +0,0 @@
/* linker.ld - Linker command/script file
*
* Copyright (c) 2022 Vaishnav Achath
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>

View file

@ -6,3 +6,5 @@ zephyr_include_directories(.)
if (DEFINED CONFIG_CC3220SF_DEBUG OR DEFINED CONFIG_CC3235SF_DEBUG)
zephyr_linker_sources(ROM_START SORT_KEY 0 cc32xx_debug.ld)
endif()
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

View file

@ -1,8 +0,0 @@
/* SPDX-License-Identifier: Apache-2.0 */
/*
* SPDX-License-Identifier: Apache-2.0
* linker.ld - Linker command/script file
*/
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>

View file

@ -2,3 +2,5 @@
zephyr_compile_definitions(-D__MSP432P401R__)
zephyr_sources(soc.c)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

View file

@ -1,8 +0,0 @@
/* SPDX-License-Identifier: Apache-2.0 */
/*
* SPDX-License-Identifier: Apache-2.0
* linker.ld - Linker command/script file
*/
#include <zephyr/arch/arm/cortex_m/scripts/linker.ld>