Config.in 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Linux Module Utilities"
  6. config DEPMOD
  7. bool "depmod"
  8. default n
  9. help
  10. depmod generates modules.dep (FIXME: elaborate)
  11. config FEATURE_DEPMOD_PRUNE_FANCY
  12. bool "fancy dependency pruning"
  13. default n
  14. depends on DEPMOD
  15. help
  16. By default modules.dep contains all dependencies as listed by
  17. the modules.
  18. If you enable this option then we remove implied modules from
  19. the dependencies.
  20. This makes depmod somewhat bigger but generates a smaller
  21. modules.dep file.
  22. If unsure, say N.
  23. config FEATURE_DEPMOD_ALIAS
  24. bool "alias support"
  25. default n
  26. depends on DEPMOD
  27. help
  28. By default modules.dep does not contain alias information.
  29. Enable this to emit aliases of the form:
  30. alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
  31. config INSMOD
  32. bool "insmod"
  33. default n
  34. help
  35. insmod is used to load specified modules in the running kernel.
  36. config FEATURE_INSMOD_VERSION_CHECKING
  37. bool "Module version checking"
  38. default n
  39. depends on INSMOD && FEATURE_2_4_MODULES
  40. help
  41. Support checking of versions for modules. This is used to
  42. ensure that the kernel and module are made for each other.
  43. config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  44. bool "Add module symbols to kernel symbol table"
  45. default n
  46. depends on INSMOD && FEATURE_2_4_MODULES
  47. help
  48. By adding module symbols to the kernel symbol table, Oops messages
  49. occuring within kernel modules can be properly debugged. By enabling
  50. this feature, module symbols will always be added to the kernel symbol
  51. table for properly debugging support. If you are not interested in
  52. Oops messages from kernel modules, say N.
  53. config FEATURE_INSMOD_LOADINKMEM
  54. bool "In kernel memory optimization (uClinux only)"
  55. default n
  56. depends on INSMOD && FEATURE_2_4_MODULES
  57. help
  58. This is a special uClinux only memory optimization that lets insmod
  59. load the specified kernel module directly into kernel space, reducing
  60. memory usage by preventing the need for two copies of the module
  61. being loaded into memory.
  62. config FEATURE_INSMOD_LOAD_MAP
  63. bool "Enable load map (-m) option"
  64. default n
  65. depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )
  66. help
  67. Enabling this, one would be able to get a load map
  68. output on stdout. This makes kernel module debugging
  69. easier.
  70. If you don't plan to debug kernel modules, you
  71. don't need this option.
  72. config FEATURE_INSMOD_LOAD_MAP_FULL
  73. bool "Symbols in load map"
  74. default y
  75. depends on FEATURE_INSMOD_LOAD_MAP
  76. help
  77. Without this option, -m will only output section
  78. load map. With this option, -m will also output
  79. symbols load map.
  80. config RMMOD
  81. bool "rmmod"
  82. default n
  83. help
  84. rmmod is used to unload specified modules from the kernel.
  85. config LSMOD
  86. bool "lsmod"
  87. default n
  88. help
  89. lsmod is used to display a list of loaded modules.
  90. config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  91. bool "Pretty output for 2.6.x Linux kernels"
  92. default n
  93. depends on LSMOD
  94. help
  95. This option makes output format of lsmod adjusted to
  96. the format of module-init-tools for Linux kernel 2.6.
  97. config MODPROBE
  98. bool "modprobe"
  99. default n
  100. help
  101. Handle the loading of modules, and their dependencies on a high
  102. level.
  103. Note that in the state, modprobe does not understand multiple
  104. module options from the configuration file. See option below.
  105. config FEATURE_MODPROBE_MULTIPLE_OPTIONS
  106. bool
  107. prompt "Multiple options parsing"
  108. default y
  109. depends on MODPROBE
  110. help
  111. Allow modprobe to understand more than one option to pass to
  112. modules.
  113. This is a WIP, while waiting for a common argument parsing
  114. common amongst all BB applets (shell, modprobe, etc...) and
  115. adds around 600 bytes on x86, 700 bytes on ARM. The code is
  116. biggish and uggly, but just works.
  117. Saying Y here is not a bad idea if you're not that short
  118. on storage capacity.
  119. config FEATURE_MODPROBE_FANCY_ALIAS
  120. bool
  121. prompt "Fancy alias parsing"
  122. default y
  123. depends on MODPROBE && FEATURE_2_6_MODULES
  124. help
  125. Say 'y' here to enable parsing of aliases with underscore/dash
  126. mismatch between module name and file name, along with bus-specific
  127. aliases (such as pci:... or usb:... aliases).
  128. config FEATURE_MODPROBE_BLACKLIST
  129. bool
  130. prompt "Blacklist support"
  131. default n
  132. depends on MODPROBE && FEATURE_2_6_MODULES
  133. help
  134. Say 'y' here to enable support for the 'blacklist' command in
  135. modprobe.conf. This prevents the alias resolver to resolve
  136. blacklisted modules. This is useful if you want to prevent your
  137. hardware autodetection scripts to load modules like evdev, frame
  138. buffer drivers etc.
  139. comment "Options common to multiple modutils"
  140. depends on INSMOD || RMMOD || MODPROBE || LSMOD || DEPMOD
  141. config FEATURE_CHECK_TAINTED_MODULE
  142. # Simulate indentation
  143. bool "Support tainted module checking with new kernels"
  144. default y
  145. depends on INSMOD || LSMOD
  146. help
  147. Support checking for tainted modules. These are usually binary
  148. only modules that will make the linux-kernel list ignore your
  149. support request.
  150. This option is required to support GPLONLY modules.
  151. config FEATURE_2_4_MODULES
  152. # Simulate indentation
  153. bool "Support version 2.2.x to 2.4.x Linux kernels"
  154. default y
  155. depends on INSMOD || RMMOD || MODPROBE
  156. help
  157. Support module loading for 2.2.x and 2.4.x Linux kernels.
  158. Note:
  159. This is automatically enabled if 2.6 modules are not enabled.
  160. config FEATURE_2_6_MODULES
  161. # Simulate indentation
  162. bool "Support version 2.6.x Linux kernels"
  163. default y
  164. depends on INSMOD || RMMOD || MODPROBE
  165. help
  166. Support module loading for newer 2.6.x Linux kernels.
  167. config DEFAULT_MODULES_DIR
  168. # Simulate indentation
  169. string "Default directory containing modules"
  170. default "/lib/modules"
  171. depends on INSMOD || RMMOD || MODPROBE || DEPMOD
  172. help
  173. Directory that contains kernel modules.
  174. Defaults to "/lib/modules"
  175. config DEFAULT_DEPMOD_FILE
  176. # Simulate indentation
  177. string "Default name of modules.dep"
  178. default "modules.dep"
  179. depends on INSMOD || RMMOD || MODPROBE || DEPMOD
  180. help
  181. Filename that contains kernel modules dependencies.
  182. Defaults to "modules.dep"
  183. config FEATURE_QUERY_MODULE_INTERFACE
  184. bool
  185. default y
  186. depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES
  187. endmenu