This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BUILD_OUTPUT_EXE

Build a binary in ELF format with .exe extension

Type: bool

Help

Build an ELF binary that can run in the host system at
zephyr/zephyr.exe in the build directory.
The name of this file can be customized with CONFIG_KERNEL_BIN_NAME.

Defaults

  • y

  • y

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:8

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_EXE
    bool
    default y
    depends on BOARD_NATIVE_POSIX

At boards/posix/nrf52_bsim/Kconfig.defconfig:8

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_EXE
    bool
    default y
    depends on BOARD_NRF52_BSIM

At Kconfig.zephyr:394

Included via Kconfig:8

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

config BUILD_OUTPUT_EXE
    bool "Build a binary in ELF format with .exe extension"
    help
      Build an ELF binary that can run in the host system at
      zephyr/zephyr.exe in the build directory.
      The name of this file can be customized with CONFIG_KERNEL_BIN_NAME.

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