From e8a2348fac6e611a543164bc6b96c192d3eb4553 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Sun, 10 Mar 2019 14:20:21 -0700 Subject: [PATCH] linker: move app_smem.ld into include/linker The app_smem.ld is also being used by architectures other than ARM. So move the linker script out of include/arch/arm and into include/linker. Signed-off-by: Daniel Leung --- CMakeLists.txt | 2 +- include/{arch/arm/cortex_m/scripts => linker}/app_smem.ld | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/{arch/arm/cortex_m/scripts => linker}/app_smem.ld (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5c9739ccd8..7f10ed7e129 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1131,7 +1131,7 @@ configure_file( ${PROJECT_BINARY_DIR}/include/generated/app_data_alignment.ld) configure_file( - $ENV{ZEPHYR_BASE}/include/arch/arm/cortex_m/scripts/app_smem.ld + $ENV{ZEPHYR_BASE}/include/linker/app_smem.ld ${PROJECT_BINARY_DIR}/include/generated/app_smem.ld) if(CONFIG_USERSPACE) diff --git a/include/arch/arm/cortex_m/scripts/app_smem.ld b/include/linker/app_smem.ld similarity index 100% rename from include/arch/arm/cortex_m/scripts/app_smem.ld rename to include/linker/app_smem.ld