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_GPMRB || X86

(Includes any dependencies from ifs and menus.)

Defaults

  • n

  • y

Kconfig definitions

At boards/x86/gpmrb/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config MULTIBOOT
    bool
    default n
    depends on BOARD_GPMRB

At arch/x86/Kconfig:97

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