CONFIG_CMAKE_LINKER_GENERATOR

CMake generator

Type: bool

Help

Select this option to use the Zephyr CMake linker script generator.
The linker configuration is written in CMake and the final linker
script will be generated by the toolchain specific linker generator.
For LD based linkers, this will be the ld generator, for ARMClang /
armlink based linkers it will be the scatter generator.

Direct dependencies

ARM && <choice LINKER_SCRIPT: Linker script>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At <Zephyr>/Kconfig.zephyr:151

Included via <Zephyr>/Kconfig:8

Menu path: (Top) → Build and Link Features → Linker Options → Linker script

config CMAKE_LINKER_GENERATOR
    bool "CMake generator"
    depends on ARM && <choice LINKER_SCRIPT>
    help
      Select this option to use the Zephyr CMake linker script generator.
      The linker configuration is written in CMake and the final linker
      script will be generated by the toolchain specific linker generator.
      For LD based linkers, this will be the ld generator, for ARMClang /
      armlink based linkers it will be the scatter generator.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)