Kconfig 3.9 KB

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