diff --git a/soc/Kconfig b/soc/Kconfig index c1dbebdf8a8..726bce00ca6 100644 --- a/soc/Kconfig +++ b/soc/Kconfig @@ -32,9 +32,11 @@ config SOC_COMPATIBLE_NRF52832 # # SOC_*_LD: SoC specific Linker script additions # + +if ARC || ARM || X86 || NIOS2 || RISCV32 + config SOC_NOINIT_LD bool - depends on (ARC || ARM || X86 || NIOS2 || RISCV32) help Include an SoC specific linker script fragment named soc-noinit.ld for inserting additional data and linker directives into @@ -45,7 +47,6 @@ config SOC_NOINIT_LD config SOC_RODATA_LD bool - depends on (ARC || ARM || X86 || NIOS2 || RISCV32) help Include an SoC specific linker script fragment named soc-rodata.ld for inserting additional data and linker directives into @@ -56,7 +57,6 @@ config SOC_RODATA_LD config SOC_RWDATA_LD bool - depends on (ARC || ARM || X86 || NIOS2 || RISCV32) help Include an SoC specific linker script fragment named soc-rwdata.ld for inserting additional data and linker directives into @@ -64,3 +64,5 @@ config SOC_RWDATA_LD This only has effect if the SoC uses the common linker script under include/arch/. + +endif # ARC || ARM || X86 || NIOS2 || RISCV32