Config.in 3.0 KB

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