Config.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. config BR2_TARGET_ROOTFS_EXT2
  2. bool "ext2/3/4 root filesystem"
  3. select BR2_PACKAGE_HOST_E2FSPROGS
  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_2r1
  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_SIZE
  36. string "exact size"
  37. default BR2_TARGET_ROOTFS_EXT2_BLOCKS if BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP # legacy 2017.08
  38. default "60M"
  39. help
  40. The size of the filesystem image. If it does not have a suffix,
  41. it is interpreted as power-of-two kilobytes. If it is suffixed
  42. by 'k', 'm', 'g', 't' (either upper-case or lower-case), then
  43. it is interpreted in power-of-two kilobytes, megabytes,
  44. gigabytes, terabytes, etc.
  45. config BR2_TARGET_ROOTFS_EXT2_INODES
  46. int "exact number of inodes (leave at 0 for auto calculation)"
  47. default 0
  48. config BR2_TARGET_ROOTFS_EXT2_RESBLKS
  49. int "reserved blocks percentage"
  50. default 5
  51. help
  52. The number of blocks on the filesystem (as a percentage of the
  53. total number of blocksi), that are reserved for use by root.
  54. Traditionally, this has been 5%, and all ext-related tools still
  55. default to reserving 5% when creating a new ext filesystem.
  56. choice
  57. prompt "Compression method"
  58. default BR2_TARGET_ROOTFS_EXT2_NONE
  59. help
  60. Select compressor for ext2/3/4 filesystem of the root filesystem
  61. config BR2_TARGET_ROOTFS_EXT2_NONE
  62. bool "no compression"
  63. help
  64. Do not compress the ext2/3/4 filesystem.
  65. config BR2_TARGET_ROOTFS_EXT2_GZIP
  66. bool "gzip"
  67. help
  68. Do compress the ext2/3/4 filesystem with gzip.
  69. config BR2_TARGET_ROOTFS_EXT2_BZIP2
  70. bool "bzip2"
  71. help
  72. Do compress the ext2/3/4 filesystem with bzip2.
  73. config BR2_TARGET_ROOTFS_EXT2_LZMA
  74. bool "lzma"
  75. help
  76. Do compress the ext2/3/4 filesystem with lzma.
  77. config BR2_TARGET_ROOTFS_EXT2_LZO
  78. bool "lzo"
  79. help
  80. Do compress the ext2 filesystem with lzop.
  81. config BR2_TARGET_ROOTFS_EXT2_XZ
  82. bool "xz"
  83. help
  84. Do compress the ext2 filesystem with xz.
  85. endchoice
  86. endif # BR2_TARGET_ROOTFS_EXT2