:orphan: .. title:: CONFIG_CUSTOM_LINKER_SCRIPT .. kconfig:: CONFIG_CUSTOM_LINKER_SCRIPT CONFIG_CUSTOM_LINKER_SCRIPT ########################### *Path to custom linker script* Type: ``string`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`BOARD_QEMU_X86_TINY ` || \ :kconfig:`HAVE_CUSTOM_LINKER_SCRIPT ` *(Includes any dependencies from ifs and menus.)* Default ======= - "/home/runner/work/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_tiny.ld" Kconfig definitions =================== At ``/x86/qemu_x86/Kconfig.defconfig:100`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:22`` Menu path: (Top) .. code-block:: kconfig config CUSTOM_LINKER_SCRIPT string default "/home/runner/work/bridle/bridle/workspace/zephyr/boards/x86/qemu_x86/qemu_x86_tiny.ld" depends on BOARD_QEMU_X86_TINY ---- At ``Kconfig.zephyr:171`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Linker Options → Custom linker script provided .. code-block:: kconfig 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.)*