Commit b2de93cf authored by Torsten Rasmussen's avatar Torsten Rasmussen Committed by Carles Cufi
Browse files

cmake: arc: update arc SoC to use SOC_LINKER_SCRIPT variable



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

Signed-off-by: default avatarTorsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
parent 26b649ea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18,3 +18,5 @@ else()

  zephyr_ld_options(-Hlib=hs38_full)
endif()

set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
+2 −0
Original line number Diff line number Diff line
@@ -14,3 +14,5 @@ else()

  zephyr_ld_options(-Hlib=hs48_slc_full)
endif()

set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
+2 −0
Original line number Diff line number Diff line
@@ -6,3 +6,5 @@ zephyr_sources(
  soc.c
  sysconf.c
  )

set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
+2 −0
Original line number Diff line number Diff line
@@ -18,3 +18,5 @@ elseif(CONFIG_SOC_EMSDP_EM11D)
  zephyr_compile_options(-mmpy-option=6)
  zephyr_compile_options_ifdef(CONFIG_FPU -mfpu=fpuda_all)
endif()

set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
+2 −0
Original line number Diff line number Diff line
@@ -8,3 +8,5 @@ zephyr_compile_options_ifdef(CONFIG_FPU -mfpu=fpuda_all)
endif()

zephyr_sources(soc_config.c)

set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")
Loading