CONFIG_CUSTOM_LINKER_SCRIPT
Path to custom linker script
Type: string
Help
Path to the linker script to be used instead of the one define by the
board.
The linker script must be based on a version provided by Zephyr since
the kernel can expect a certain layout/certain regions.
This is useful when an application needs to add sections into the
linker script and avoid having to change the script provided by
Zephyr.
Direct dependencies
BOARD_QEMU_X86_TINY
|| HAVE_CUSTOM_LINKER_SCRIPT
(Includes any dependencies from ifs and menus.)
Default
“/home/runner/work/sdk-nrf/sdk-nrf/ncs/zephyr/boards/x86/qemu_x86/qemu_x86_tiny.ld”
Kconfig definitions
At <Zephyr>/boards/x86/qemu_x86/Kconfig.defconfig:100
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:22
Menu path: (Top)
config CUSTOM_LINKER_SCRIPT
string
default "/home/runner/work/sdk-nrf/sdk-nrf/ncs/zephyr/boards/x86/qemu_x86/qemu_x86_tiny.ld"
depends on BOARD_QEMU_X86_TINY
At <Zephyr>/Kconfig.zephyr:169
Included via <Zephyr>/Kconfig:8
Menu path: (Top) → Build and Link Features → Linker Options → Custom linker script provided
config CUSTOM_LINKER_SCRIPT
string "Path to custom linker script"
depends on HAVE_CUSTOM_LINKER_SCRIPT
help
Path to the linker script to be used instead of the one define by the
board.
The linker script must be based on a version provided by Zephyr since
the kernel can expect a certain layout/certain regions.
This is useful when an application needs to add sections into the
linker script and avoid having to change the script provided by
Zephyr.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)