The latest development version of this page may be more current than this released 2.5.0 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

X86

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At arch/x86/Kconfig:121

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

Menu path: (Top) → X86 Architecture Options

config MULTIBOOT
    bool "Generate multiboot header"
    default y
    depends on 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.)