:orphan: .. title:: CUSTOM_LINKER_SCRIPT .. option:: 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 =================== \ :option:`HAVE_CUSTOM_LINKER_SCRIPT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to the empty string. Kconfig definition ================== .. highlight:: kconfig At ``Kconfig.zephyr:142`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options → Custom linker scripts provided .. parsed-literal:: config CUSTOM_LINKER_SCRIPT string "Path to custom linker script" depends on \ :option:`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.)*