Config.in 2.4 KB

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