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:
parent
b2de93cff6
commit
4812884f84
204 changed files with 192 additions and 1053 deletions
|
@ -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 "")
|
||||
|
|
|
@ -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>
|
|
@ -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 "")
|
||||
|
|
|
@ -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>
|
|
@ -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 "")
|
||||
|
|
|
@ -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>
|
|
@ -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 "")
|
||||
|
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue