Skip to content

Commit

Permalink
soc: mimx8mm6_m4: Restore linker script
Browse files Browse the repository at this point in the history
For this SoC, an additional section is conditionally included on top of
the default linker script for Cortex-M. Set `SOC_LINKER_SCRIPT` to the
local `linker.ld`.

Signed-off-by: Grzegorz Swiderski <[email protected]>
  • Loading branch information
57300 committed Nov 3, 2023
1 parent d92ed66 commit 4a9bdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soc/arm/nxp_imx/mimx8mm6_m4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ if(CONFIG_OPENAMP_RSC_TABLE)
zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
endif()

set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")

0 comments on commit 4a9bdcc

Please sign in to comment.