Kconfig 4.0 KB

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