Config.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. config BR2_PACKAGE_MTD
  2. bool "mtd, jffs2 and ubi/ubifs tools"
  3. help
  4. Build mtd, jffs2 and ubi/ubifs tools
  5. http://www.linux-mtd.infradead.org/
  6. if BR2_PACKAGE_MTD
  7. # The two hidden options below match mtd configure script options
  8. # --enable-jffs and --enable-ubifs
  9. config BR2_PACKAGE_MTD_JFFS_UTILS
  10. bool
  11. select BR2_PACKAGE_LZO
  12. select BR2_PACKAGE_ZLIB
  13. config BR2_PACKAGE_MTD_UBIFS_UTILS
  14. bool
  15. select BR2_PACKAGE_LZO
  16. select BR2_PACKAGE_UTIL_LINUX
  17. select BR2_PACKAGE_UTIL_LINUX_LIBUUID
  18. select BR2_PACKAGE_ZLIB
  19. comment "MTD tools selection"
  20. config BR2_PACKAGE_MTD_DOCFDISK
  21. bool "docfdisk"
  22. config BR2_PACKAGE_MTD_DOC_LOADBIOS
  23. bool "doc_loadbios"
  24. config BR2_PACKAGE_MTD_FLASHCP
  25. bool "flashcp"
  26. default y
  27. config BR2_PACKAGE_MTD_FLASH_ERASE
  28. bool "flash_erase"
  29. default y
  30. config BR2_PACKAGE_MTD_FLASH_LOCK
  31. bool "flash_lock"
  32. default y
  33. config BR2_PACKAGE_MTD_FLASH_OTP_DUMP
  34. bool "flash_otp_dump"
  35. config BR2_PACKAGE_MTD_FLASH_OTP_INFO
  36. bool "flash_otp_info"
  37. config BR2_PACKAGE_MTD_FLASH_OTP_LOCK
  38. bool "flash_otp_lock"
  39. config BR2_PACKAGE_MTD_FLASH_OTP_WRITE
  40. bool "flash_otp_write"
  41. config BR2_PACKAGE_MTD_FLASH_UNLOCK
  42. bool "flash_unlock"
  43. default y
  44. config BR2_PACKAGE_MTD_FTL_CHECK
  45. bool "ftl_check"
  46. config BR2_PACKAGE_MTD_FTL_FORMAT
  47. bool "ftl_format"
  48. config BR2_PACKAGE_MTD_JFFS2DUMP
  49. bool "jffs2dump"
  50. select BR2_PACKAGE_MTD_JFFS_UTILS
  51. config BR2_PACKAGE_MTD_MKFSJFFS2
  52. bool "mkfs.jffs2"
  53. select BR2_PACKAGE_MTD_JFFS_UTILS
  54. config BR2_PACKAGE_MTD_MKFSUBIFS
  55. bool "mkfs.ubifs"
  56. select BR2_PACKAGE_MTD_UBIFS_UTILS
  57. config BR2_PACKAGE_MTD_MTD_DEBUG
  58. bool "mtd_debug"
  59. default y
  60. config BR2_PACKAGE_MTD_MTDPART
  61. bool "mtdpart"
  62. config BR2_PACKAGE_MTD_NANDDUMP
  63. bool "nanddump"
  64. default y
  65. config BR2_PACKAGE_MTD_NANDTEST
  66. bool "nandtest"
  67. default y
  68. config BR2_PACKAGE_MTD_NANDWRITE
  69. bool "nandwrite"
  70. default y
  71. config BR2_PACKAGE_MTD_NFTLDUMP
  72. bool "nftldump"
  73. config BR2_PACKAGE_MTD_NFTL_FORMAT
  74. bool "nftl_format"
  75. config BR2_PACKAGE_MTD_RECV_IMAGE
  76. bool "recv_image"
  77. config BR2_PACKAGE_MTD_RFDDUMP
  78. bool "rfddump"
  79. config BR2_PACKAGE_MTD_RFDFORMAT
  80. bool "rfdformat"
  81. config BR2_PACKAGE_MTD_SERVE_IMAGE
  82. bool "serve_image"
  83. config BR2_PACKAGE_MTD_SUMTOOL
  84. bool "sumtool"
  85. select BR2_PACKAGE_MTD_JFFS_UTILS
  86. config BR2_PACKAGE_MTD_MTDINFO
  87. bool "mtdinfo"
  88. default y
  89. config BR2_PACKAGE_MTD_UBIATTACH
  90. bool "ubiattach"
  91. default y
  92. config BR2_PACKAGE_MTD_UBICRC32
  93. bool "ubicrc32"
  94. default y
  95. config BR2_PACKAGE_MTD_UBIDETACH
  96. bool "ubidetach"
  97. default y
  98. config BR2_PACKAGE_MTD_UBIFORMAT
  99. bool "ubiformat"
  100. default y
  101. config BR2_PACKAGE_MTD_UBIMKVOL
  102. bool "ubimkvol"
  103. default y
  104. config BR2_PACKAGE_MTD_UBINFO
  105. bool "ubinfo"
  106. default y
  107. config BR2_PACKAGE_MTD_UBINIZE
  108. bool "ubinize"
  109. default y
  110. config BR2_PACKAGE_MTD_UBIRENAME
  111. bool "ubirename"
  112. default y
  113. config BR2_PACKAGE_MTD_UBIRMVOL
  114. bool "ubirmvol"
  115. default y
  116. config BR2_PACKAGE_MTD_UBIRSVOL
  117. bool "ubirsvol"
  118. default y
  119. config BR2_PACKAGE_MTD_UBIUPDATEVOL
  120. bool "ubiupdatevol"
  121. default y
  122. config BR2_PACKAGE_MTD_UBIBLOCK
  123. bool "ubiblock"
  124. default y
  125. config BR2_PACKAGE_MTD_TESTS
  126. bool "MTD test tools"
  127. depends on BR2_USE_MMU # fork() in fstests
  128. depends on BR2_TOOLCHAIN_HAS_THREADS
  129. help
  130. Build and install tools for testing MTD devices and drivers.
  131. if BR2_PACKAGE_MTD_TESTS
  132. config BR2_PACKAGE_MTD_FLASH_READTEST
  133. bool "flash_readtest"
  134. config BR2_PACKAGE_MTD_FLASH_SPEED
  135. bool "flash_speed"
  136. config BR2_PACKAGE_MTD_FLASH_STRESS
  137. bool "flash_stress"
  138. config BR2_PACKAGE_MTD_FLASH_TORTURE
  139. bool "flash_torture"
  140. config BR2_PACKAGE_MTD_INTEGCK
  141. bool "integck"
  142. config BR2_PACKAGE_MTD_NANDBITERRS
  143. bool "nandbiterrs"
  144. config BR2_PACKAGE_MTD_NANDPAGETEST
  145. bool "nandpagetest"
  146. config BR2_PACKAGE_MTD_NANDSUBPAGETEST
  147. bool "nandsubpagetest"
  148. endif
  149. comment "MTD test tools need a toolchain w/ threads"
  150. depends on BR2_USE_MMU
  151. depends on !BR2_TOOLCHAIN_HAS_THREADS
  152. endif