Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. #
  2. # Library configuration
  3. #
  4. config BINARY_PRINTF
  5. def_bool n
  6. menu "Library routines"
  7. config RAID6_PQ
  8. tristate
  9. config BITREVERSE
  10. tristate
  11. config RATIONAL
  12. boolean
  13. config GENERIC_FIND_FIRST_BIT
  14. bool
  15. config GENERIC_FIND_NEXT_BIT
  16. bool
  17. config GENERIC_FIND_BIT_LE
  18. bool
  19. config GENERIC_FIND_LAST_BIT
  20. bool
  21. default y
  22. config CRC_CCITT
  23. tristate "CRC-CCITT functions"
  24. help
  25. This option is provided for the case where no in-kernel-tree
  26. modules require CRC-CCITT functions, but a module built outside
  27. the kernel tree does. Such modules that use library CRC-CCITT
  28. functions require M here.
  29. config CRC16
  30. tristate "CRC16 functions"
  31. help
  32. This option is provided for the case where no in-kernel-tree
  33. modules require CRC16 functions, but a module built outside
  34. the kernel tree does. Such modules that use library CRC16
  35. functions require M here.
  36. config CRC_T10DIF
  37. tristate "CRC calculation for the T10 Data Integrity Field"
  38. help
  39. This option is only needed if a module that's not in the
  40. kernel tree needs to calculate CRC checks for use with the
  41. SCSI data integrity subsystem.
  42. config CRC_ITU_T
  43. tristate "CRC ITU-T V.41 functions"
  44. help
  45. This option is provided for the case where no in-kernel-tree
  46. modules require CRC ITU-T V.41 functions, but a module built outside
  47. the kernel tree does. Such modules that use library CRC ITU-T V.41
  48. functions require M here.
  49. config CRC32
  50. tristate "CRC32 functions"
  51. default y
  52. select BITREVERSE
  53. help
  54. This option is provided for the case where no in-kernel-tree
  55. modules require CRC32 functions, but a module built outside the
  56. kernel tree does. Such modules that use library CRC32 functions
  57. require M here.
  58. config CRC7
  59. tristate "CRC7 functions"
  60. help
  61. This option is provided for the case where no in-kernel-tree
  62. modules require CRC7 functions, but a module built outside
  63. the kernel tree does. Such modules that use library CRC7
  64. functions require M here.
  65. config LIBCRC32C
  66. tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
  67. select CRYPTO
  68. select CRYPTO_CRC32C
  69. help
  70. This option is provided for the case where no in-kernel-tree
  71. modules require CRC32c functions, but a module built outside the
  72. kernel tree does. Such modules that use library CRC32c functions
  73. require M here. See Castagnoli93.
  74. Module will be libcrc32c.
  75. config AUDIT_GENERIC
  76. bool
  77. depends on AUDIT && !AUDIT_ARCH
  78. default y
  79. #
  80. # compression support is select'ed if needed
  81. #
  82. config ZLIB_INFLATE
  83. tristate
  84. config ZLIB_DEFLATE
  85. tristate
  86. config LZO_COMPRESS
  87. tristate
  88. config LZO_DECOMPRESS
  89. tristate
  90. source "lib/xz/Kconfig"
  91. #
  92. # These all provide a common interface (hence the apparent duplication with
  93. # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
  94. #
  95. config DECOMPRESS_GZIP
  96. select ZLIB_INFLATE
  97. tristate
  98. config DECOMPRESS_BZIP2
  99. tristate
  100. config DECOMPRESS_LZMA
  101. tristate
  102. config DECOMPRESS_XZ
  103. select XZ_DEC
  104. tristate
  105. config DECOMPRESS_LZO
  106. select LZO_DECOMPRESS
  107. tristate
  108. #
  109. # Generic allocator support is selected if needed
  110. #
  111. config GENERIC_ALLOCATOR
  112. boolean
  113. #
  114. # reed solomon support is select'ed if needed
  115. #
  116. config REED_SOLOMON
  117. tristate
  118. config REED_SOLOMON_ENC8
  119. boolean
  120. config REED_SOLOMON_DEC8
  121. boolean
  122. config REED_SOLOMON_ENC16
  123. boolean
  124. config REED_SOLOMON_DEC16
  125. boolean
  126. #
  127. # Textsearch support is select'ed if needed
  128. #
  129. config TEXTSEARCH
  130. boolean
  131. config TEXTSEARCH_KMP
  132. tristate
  133. config TEXTSEARCH_BM
  134. tristate
  135. config TEXTSEARCH_FSM
  136. tristate
  137. config BTREE
  138. boolean
  139. config HAS_IOMEM
  140. boolean
  141. depends on !NO_IOMEM
  142. default y
  143. config HAS_IOPORT
  144. boolean
  145. depends on HAS_IOMEM && !NO_IOPORT
  146. default y
  147. config HAS_DMA
  148. boolean
  149. depends on !NO_DMA
  150. default y
  151. config CHECK_SIGNATURE
  152. bool
  153. config CPUMASK_OFFSTACK
  154. bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
  155. help
  156. Use dynamic allocation for cpumask_var_t, instead of putting
  157. them on the stack. This is a bit more expensive, but avoids
  158. stack overflow.
  159. config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
  160. bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
  161. depends on EXPERIMENTAL && BROKEN
  162. config CPU_RMAP
  163. bool
  164. depends on SMP
  165. #
  166. # Netlink attribute parsing support is select'ed if needed
  167. #
  168. config NLATTR
  169. bool
  170. #
  171. # Generic 64-bit atomic support is selected if needed
  172. #
  173. config GENERIC_ATOMIC64
  174. bool
  175. config LRU_CACHE
  176. tristate
  177. config AVERAGE
  178. bool "Averaging functions"
  179. help
  180. This option is provided for the case where no in-kernel-tree
  181. modules require averaging functions, but a module built outside
  182. the kernel tree does. Such modules that use library averaging
  183. functions require Y here.
  184. If unsure, say N.
  185. endmenu