cmake: mips: update mips SoC to use SOC_LINKER_SCRIPT variable

This commit updates all mips 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 22:42:32 +02:00 committed by Carles Cufí
parent 84e4f62e5b
commit 5130a69987
2 changed files with 2 additions and 7 deletions

View file

@ -15,3 +15,5 @@ zephyr_ld_options(
-mips32
${TOOLCHAIN_LD_FLAGS}
)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/mips/linker.ld CACHE INTERNAL "")

View file

@ -1,7 +0,0 @@
/*
* Copyright (c) 2020 Antony Pavlov <antonynpavlov@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/arch/mips/linker.ld>