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 <Zephyr>/arch/x86/Kconfig:117

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/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.)