Config.in 2.0 KB

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