1 config BR2_TARGET_ROOTFS_ISO9660
3 depends on (BR2_i386 || BR2_x86_64)
4 depends on BR2_LINUX_KERNEL
5 depends on BR2_TARGET_GRUB || \
7 BR2_TARGET_SYSLINUX_ISOLINUX
8 select BR2_LINUX_KERNEL_INSTALL_TARGET \
9 if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS)
11 Build a bootable ISO9660 image. By default, the root
12 filesystem is directly packed as the ISO9660 filesystem,
13 which means the root filesystem will be read-only. It
14 requires ISO9660 filesystem support and CDROM support in the
17 However, if BR2_TARGET_ROOTFS_INITRAMFS or
18 BR2_TARGET_ROOTFS_ISO9660_INITRD have been enabled, the
19 ISO9660 filesystem will only contain a kernel image and
20 optionally an external initrd image. In this case, the
21 filesystem being in RAM, it will be read/write. No ISO9660
22 or CDROM support is needed in the kernel.
24 if BR2_TARGET_ROOTFS_ISO9660
29 config BR2_TARGET_ROOTFS_ISO9660_GRUB
31 depends on BR2_TARGET_GRUB
32 select BR2_TARGET_GRUB_FS_ISO9660
34 config BR2_TARGET_ROOTFS_ISO9660_GRUB2
36 depends on BR2_TARGET_GRUB2
38 Use Grub 2 as the bootloader for the ISO9660 image. Make
39 sure to enable the 'iso9660' module in
40 BR2_TARGET_GRUB2_BUILTIN_MODULES and to use 'cd' as the boot
41 partition in BR2_TARGET_GRUB2_BOOT_PARTITION=.
43 config BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
45 depends on BR2_TARGET_SYSLINUX_ISOLINUX
49 config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
50 string "Boot menu config file"
51 default "fs/iso9660/menu.lst" if BR2_TARGET_ROOTFS_ISO9660_GRUB
52 default "fs/iso9660/grub.cfg" if BR2_TARGET_ROOTFS_ISO9660_GRUB2
53 default "fs/iso9660/isolinux.cfg" if BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
55 Use this option to provide a custom bootloader configuration
56 file (menu.lst for Grub, grub.cfg for Grub 2, isolinux.cfg for
59 Note that the strings __KERNEL_PATH__ and __INITRD_PATH__
60 will automatically be replaced by the path to the kernel and
61 initrd images respectively.
63 config BR2_TARGET_ROOTFS_ISO9660_INITRD
66 select BR2_TARGET_ROOTFS_CPIO
68 Enable this option to have the root filesystem bundled as an
69 initrd/initramfs rather than directly as the ISO9660
70 filesystem. With this option enabled, the ISO9660 will only
71 contain a kernel image, an initrd image (unless an initramfs
72 linked into the kernel is used) and the bootloader.
74 config BR2_TARGET_ROOTFS_ISO9660_HYBRID
75 bool "Build hybrid image"
76 depends on BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
78 Enable this option to build an hybrid image, i.e an image
79 which can either be booted from a CD-ROM or from a device
80 which BIOS considers a hard disk or ZIP disk, e.g. a USB key
85 comment "iso image needs a Linux kernel and one of grub, grub2 or isolinux to be built"
86 depends on BR2_i386 || BR2_x86_64
87 depends on !BR2_LINUX_KERNEL || \
88 !(BR2_TARGET_GRUB || BR2_TARGET_GRUB2 || BR2_TARGET_SYSLINUX_ISOLINUX)