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 || (X86_PC_COMPATIBLE && X86)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

  • y

Kconfig definitions

At <Zephyr>/boards/x86/qemu_x86/Kconfig.defconfig:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config MULTIBOOT
    bool
    default y
    depends on BOARD_QEMU_X86

At <Zephyr>/boards/x86/qemu_x86/Kconfig.defconfig:50

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config MULTIBOOT
    bool
    default y
    depends on BOARD_QEMU_X86_LAKEMONT

At <Zephyr>/arch/x86/Kconfig:269

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