Kconfig 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. #
  89. # These all provide a common interface (hence the apparent duplication with
  90. # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
  91. #
  92. config DECOMPRESS_GZIP
  93. select ZLIB_INFLATE
  94. tristate
  95. config DECOMPRESS_BZIP2
  96. tristate
  97. config DECOMPRESS_LZMA
  98. tristate
  99. config DECOMPRESS_LZO
  100. select LZO_DECOMPRESS
  101. tristate
  102. #
  103. # Generic allocator support is selected if needed
  104. #
  105. config GENERIC_ALLOCATOR
  106. boolean
  107. #
  108. # reed solomon support is select'ed if needed
  109. #
  110. config REED_SOLOMON
  111. tristate
  112. config REED_SOLOMON_ENC8
  113. boolean
  114. config REED_SOLOMON_DEC8
  115. boolean
  116. config REED_SOLOMON_ENC16
  117. boolean
  118. config REED_SOLOMON_DEC16
  119. boolean
  120. #
  121. # Textsearch support is select'ed if needed
  122. #
  123. config TEXTSEARCH
  124. boolean
  125. config TEXTSEARCH_KMP
  126. tristate
  127. config TEXTSEARCH_BM
  128. tristate
  129. config TEXTSEARCH_FSM
  130. tristate
  131. config BTREE
  132. boolean
  133. config HAS_IOMEM
  134. boolean
  135. depends on !NO_IOMEM
  136. default y
  137. config HAS_IOPORT
  138. boolean
  139. depends on HAS_IOMEM && !NO_IOPORT
  140. default y
  141. config HAS_DMA
  142. boolean
  143. depends on !NO_DMA
  144. default y
  145. config CHECK_SIGNATURE
  146. bool
  147. config CPUMASK_OFFSTACK
  148. bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
  149. help
  150. Use dynamic allocation for cpumask_var_t, instead of putting
  151. them on the stack. This is a bit more expensive, but avoids
  152. stack overflow.
  153. config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
  154. bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
  155. depends on EXPERIMENTAL && BROKEN
  156. #
  157. # Netlink attribute parsing support is select'ed if needed
  158. #
  159. config NLATTR
  160. bool
  161. #
  162. # Generic 64-bit atomic support is selected if needed
  163. #
  164. config GENERIC_ATOMIC64
  165. bool
  166. config LRU_CACHE
  167. tristate
  168. endmenu