Kconfig 4.2 KB

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