Allow linking with –whole-archive

Type: bool

Help

This options allows linking external libraries with the –whole-archive option to keep all symbols.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At misc/Kconfig:96

Included via Kconfig:10Kconfig.zephyr:31

Menu path: (top menu) → Build and Link Features → Linker Options

config LINK_WHOLE_ARCHIVE
    bool
    prompt "Allow linking with --whole-archive"
    help
      This options allows linking external libraries with the
      --whole-archive option to keep all symbols.

(Definitions include propagated dependencies, including from if’s and menus.)