Config.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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_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_BLOCKS
  36. int "exact size in blocks (leave at 0 for auto calculation)"
  37. default 0
  38. config BR2_TARGET_ROOTFS_EXT2_INODES
  39. int "exact number of inodes (leave at 0 for auto calculation)"
  40. default 0
  41. config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS
  42. int "extra size in blocks" if BR2_TARGET_ROOTFS_EXT2_BLOCKS = 0
  43. default 0
  44. help
  45. Enter here the number of extra blocks of free space you
  46. want on your filesystem. By default, Buildroot will not
  47. leave much space free.
  48. config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES
  49. int "extra inodes" if BR2_TARGET_ROOTFS_EXT2_INODES = 0
  50. default 0
  51. help
  52. Enter here the number of extra free inodes you want on
  53. your filesystem. By default, Buildroot will not leave
  54. many free inodes.
  55. config BR2_TARGET_ROOTFS_EXT2_RESBLKS
  56. int "reserved blocks percentage"
  57. default 0
  58. choice
  59. prompt "Compression method"
  60. default BR2_TARGET_ROOTFS_EXT2_NONE
  61. help
  62. Select compressor for ext2/3/4 filesystem of the root filesystem
  63. config BR2_TARGET_ROOTFS_EXT2_NONE
  64. bool "no compression"
  65. help
  66. Do not compress the ext2/3/4 filesystem.
  67. config BR2_TARGET_ROOTFS_EXT2_GZIP
  68. bool "gzip"
  69. help
  70. Do compress the ext2/3/4 filesystem with gzip.
  71. config BR2_TARGET_ROOTFS_EXT2_BZIP2
  72. bool "bzip2"
  73. help
  74. Do compress the ext2/3/4 filesystem with bzip2.
  75. config BR2_TARGET_ROOTFS_EXT2_LZMA
  76. bool "lzma"
  77. help
  78. Do compress the ext2/3/4 filesystem with lzma.
  79. config BR2_TARGET_ROOTFS_EXT2_LZO
  80. bool "lzo"
  81. help
  82. Do compress the ext2 filesystem with lzop.
  83. config BR2_TARGET_ROOTFS_EXT2_XZ
  84. bool "xz"
  85. help
  86. Do compress the ext2 filesystem with xz.
  87. endchoice
  88. endif # BR2_TARGET_ROOTFS_EXT2