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_MULTIBOOT

Generate multiboot header

Type: bool

Help

Embed a multiboot header in the output executable. This is used
by some boot loaders (e.g., GRUB) when loading Zephyr. It is safe
to leave this option on if you're not sure. It only expands the
text segment by 12-16 bytes and is typically ignored if not needed.

Direct dependencies

BOARD_QEMU_X86 || BOARD_QEMU_X86_LAKEMONT || BOARD_QEMU_X86_TINY || (X86_PC_COMPATIBLE && X86)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

  • y

  • y

Kconfig definitions

At boards/x86/qemu_x86/Kconfig.defconfig:18

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config MULTIBOOT
    bool
    default y
    depends on BOARD_QEMU_X86

At boards/x86/qemu_x86/Kconfig.defconfig:56

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config MULTIBOOT
    bool
    default y
    depends on BOARD_QEMU_X86_LAKEMONT

At boards/x86/qemu_x86/Kconfig.defconfig:83

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config MULTIBOOT
    bool
    default y
    depends on BOARD_QEMU_X86_TINY

At arch/x86/Kconfig:269

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config MULTIBOOT
    bool "Generate multiboot header"
    default y
    depends on X86_PC_COMPATIBLE && X86
    help
      Embed a multiboot header in the output executable. This is used
      by some boot loaders (e.g., GRUB) when loading Zephyr. It is safe
      to leave this option on if you're not sure. It only expands the
      text segment by 12-16 bytes and is typically ignored if not needed.

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