libcurl: bump version to 7.53.1
[buildroot-gz.git] / fs / iso9660 / Config.in
blobd162586f38c1349cabdd57ba2abcc34d7e1f4d0e
1 config BR2_TARGET_ROOTFS_ISO9660
2         bool "iso image"
3         depends on (BR2_i386 || BR2_x86_64)
4         depends on BR2_LINUX_KERNEL
5         depends on BR2_TARGET_GRUB || \
6                 BR2_TARGET_GRUB2_I386_PC || \
7                 BR2_TARGET_SYSLINUX_ISOLINUX
8         select BR2_LINUX_KERNEL_INSTALL_TARGET \
9                if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS)
10         help
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
15           kernel.
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
26 choice
27         prompt "Bootloader"
29 config BR2_TARGET_ROOTFS_ISO9660_GRUB
30         bool "grub"
31         depends on BR2_TARGET_GRUB
32         select BR2_TARGET_GRUB_FS_ISO9660
34 config BR2_TARGET_ROOTFS_ISO9660_GRUB2
35         bool "grub2"
36         depends on BR2_TARGET_GRUB2_I386_PC
37         help
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
44         bool "isolinux"
45         depends on BR2_TARGET_SYSLINUX_ISOLINUX
47 endchoice
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
54         help
55           Use this option to provide a custom bootloader configuration
56           file (menu.lst for Grub, grub.cfg for Grub 2, isolinux.cfg for
57           isolinux).
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
64         bool "Use initrd"
65         default y
66         select BR2_TARGET_ROOTFS_CPIO
67         help
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
77         help
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
81           or similar.
83 endif
85 comment "iso image needs a Linux kernel and one of grub, grub2 i386-pc 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_I386_PC || BR2_TARGET_SYSLINUX_ISOLINUX)