Config.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_GRUB2_I386_PC || \
  6. BR2_TARGET_SYSLINUX_ISOLINUX
  7. select BR2_LINUX_KERNEL_INSTALL_TARGET \
  8. if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS)
  9. help
  10. Build a bootable ISO9660 image. By default, the root
  11. filesystem is directly packed as the ISO9660 filesystem,
  12. which means the root filesystem will be read-only. It
  13. requires ISO9660 filesystem support and CDROM support in the
  14. kernel.
  15. However, if BR2_TARGET_ROOTFS_INITRAMFS or
  16. BR2_TARGET_ROOTFS_ISO9660_INITRD have been enabled, the
  17. ISO9660 filesystem will only contain a kernel image and
  18. optionally an external initrd image. In this case, the
  19. filesystem being in RAM, it will be read/write. No ISO9660
  20. or CDROM support is needed in the kernel.
  21. if BR2_TARGET_ROOTFS_ISO9660
  22. choice
  23. prompt "Bootloader"
  24. config BR2_TARGET_ROOTFS_ISO9660_GRUB2
  25. bool "grub2"
  26. depends on BR2_TARGET_GRUB2_I386_PC
  27. help
  28. Use Grub 2 as the bootloader for the ISO9660 image. Make
  29. sure to enable the 'iso9660' module in
  30. BR2_TARGET_GRUB2_BUILTIN_MODULES and to use 'cd' as the boot
  31. partition in BR2_TARGET_GRUB2_BOOT_PARTITION=.
  32. config BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
  33. bool "isolinux"
  34. depends on BR2_TARGET_SYSLINUX_ISOLINUX
  35. endchoice
  36. config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
  37. string "Boot menu config file"
  38. default "fs/iso9660/grub.cfg" if BR2_TARGET_ROOTFS_ISO9660_GRUB2
  39. default "fs/iso9660/isolinux.cfg" if BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
  40. help
  41. Use this option to provide a custom bootloader configuration
  42. file (grub.cfg for Grub 2, isolinux.cfg for isolinux).
  43. Note that the strings __KERNEL_PATH__ and __INITRD_PATH__
  44. will automatically be replaced by the path to the kernel and
  45. initrd images respectively.
  46. config BR2_TARGET_ROOTFS_ISO9660_INITRD
  47. bool "Use initrd"
  48. default y
  49. select BR2_TARGET_ROOTFS_CPIO
  50. help
  51. Enable this option to have the root filesystem bundled as an
  52. initrd/initramfs rather than directly as the ISO9660
  53. filesystem. With this option enabled, the ISO9660 will only
  54. contain a kernel image, an initrd image (unless an initramfs
  55. linked into the kernel is used) and the bootloader.
  56. config BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION
  57. bool "transparent compression"
  58. depends on !BR2_TARGET_ROOTFS_ISO9660_INITRD
  59. depends on !BR2_TARGET_ROOTFS_INITRAMFS
  60. help
  61. Say 'y' to enable use of transparent (de)compression. Files
  62. are stored compressed and will be decompressed on-the-fly
  63. upon access at runtime.
  64. config BR2_TARGET_ROOTFS_ISO9660_HYBRID
  65. bool "Build hybrid image"
  66. depends on BR2_TARGET_ROOTFS_ISO9660_ISOLINUX
  67. help
  68. Enable this option to build an hybrid image, i.e an image
  69. which can either be booted from a CD-ROM or from a device
  70. which BIOS considers a hard disk or ZIP disk, e.g. a USB key
  71. or similar.
  72. endif
  73. comment "iso image needs a Linux kernel and either grub2 i386-pc or isolinux to be built"
  74. depends on BR2_i386 || BR2_x86_64
  75. depends on !BR2_LINUX_KERNEL || \
  76. !(BR2_TARGET_GRUB2_I386_PC || BR2_TARGET_SYSLINUX_ISOLINUX)