CONFIG_CROSS_COMPILE

Cross-compiler tool prefix

Type: string

Help

Same as running ‘make CROSS_COMPILE=prefix-‘ but stored for default make runs in this kernel build directory. You don’t need to set this unless you want the configured kernel build directory to select the cross-compiler automatically.

Defaults

No defaults. Implicitly defaults to the empty string.

Kconfig definition

At misc/Kconfig:118

Included via Kconfig:10Kconfig.zephyr:31

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

config CROSS_COMPILE
    string
    prompt "Cross-compiler tool prefix"
    help
      Same as running 'make CROSS_COMPILE=prefix-' but stored for
      default make runs in this kernel build directory.  You don't
      need to set this unless you want the configured kernel build
      directory to select the cross-compiler automatically.

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