Config.in 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. config BR2_TARGET_ROOTFS_EXT2
  2. bool "ext2/3/4 root filesystem"
  3. select BR2_PACKAGE_HOST_MKE2IMG
  4. help
  5. Build an ext2/3/4 root filesystem
  6. if BR2_TARGET_ROOTFS_EXT2
  7. config BR2_TARGET_ROOTFS_EXT2_2
  8. bool
  9. choice
  10. bool "ext2/3/4 variant"
  11. default BR2_TARGET_ROOTFS_EXT2_2r0
  12. config BR2_TARGET_ROOTFS_EXT2_2r0
  13. bool "ext2 (rev0)"
  14. select BR2_TARGET_ROOTFS_EXT2_2
  15. config BR2_TARGET_ROOTFS_EXT2_2r1
  16. bool "ext2 (rev1)"
  17. select BR2_TARGET_ROOTFS_EXT2_2
  18. config BR2_TARGET_ROOTFS_EXT2_3
  19. bool "ext3"
  20. config BR2_TARGET_ROOTFS_EXT2_4
  21. bool "ext4"
  22. endchoice
  23. config BR2_TARGET_ROOTFS_EXT2_GEN
  24. int
  25. default 2 if BR2_TARGET_ROOTFS_EXT2_2
  26. default 3 if BR2_TARGET_ROOTFS_EXT2_3
  27. default 4 if BR2_TARGET_ROOTFS_EXT2_4
  28. # All ext generations are revision 1, except ext2r0, which is revision 0
  29. config BR2_TARGET_ROOTFS_EXT2_REV
  30. int
  31. default 0 if BR2_TARGET_ROOTFS_EXT2_2r0
  32. default 1 if !BR2_TARGET_ROOTFS_EXT2_2r0
  33. config BR2_TARGET_ROOTFS_EXT2_LABEL
  34. string "filesystem label"
  35. config BR2_TARGET_ROOTFS_EXT2_BLOCKS
  36. int "size in blocks (leave at 0 for auto calculation)"
  37. default 0
  38. config BR2_TARGET_ROOTFS_EXT2_INODES
  39. int "inodes (leave at 0 for auto calculation)"
  40. default 0
  41. config BR2_TARGET_ROOTFS_EXT2_RESBLKS
  42. int "reserved blocks percentage"
  43. default 0
  44. choice
  45. prompt "Compression method"
  46. default BR2_TARGET_ROOTFS_EXT2_NONE
  47. help
  48. Select compressor for ext2/3/4 filesystem of the root filesystem
  49. config BR2_TARGET_ROOTFS_EXT2_NONE
  50. bool "no compression"
  51. help
  52. Do not compress the ext2/3/4 filesystem.
  53. config BR2_TARGET_ROOTFS_EXT2_GZIP
  54. bool "gzip"
  55. help
  56. Do compress the ext2/3/4 filesystem with gzip.
  57. config BR2_TARGET_ROOTFS_EXT2_BZIP2
  58. bool "bzip2"
  59. help
  60. Do compress the ext2/3/4 filesystem with bzip2.
  61. config BR2_TARGET_ROOTFS_EXT2_LZMA
  62. bool "lzma"
  63. help
  64. Do compress the ext2/3/4 filesystem with lzma.
  65. config BR2_TARGET_ROOTFS_EXT2_LZO
  66. bool "lzo"
  67. help
  68. Do compress the ext2 filesystem with lzop.
  69. config BR2_TARGET_ROOTFS_EXT2_XZ
  70. bool "xz"
  71. help
  72. Do compress the ext2 filesystem with xz.
  73. endchoice
  74. endif # BR2_TARGET_ROOTFS_EXT2