Config.in 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "Linux Module Utilities"
  7. config BUSYBOX_MODINFO
  8. bool "modinfo"
  9. default n
  10. depends on !BUSYBOX_DISABLE_KMOD
  11. select BUSYBOX_PLATFORM_LINUX
  12. help
  13. Show information about a Linux Kernel module
  14. config BUSYBOX_MODPROBE_SMALL
  15. bool "Simplified modutils"
  16. default n
  17. depends on !BUSYBOX_DISABLE_KMOD
  18. select BUSYBOX_PLATFORM_LINUX
  19. help
  20. Simplified modutils.
  21. With this option modprobe does not require modules.dep file
  22. and does not use /etc/modules.conf file.
  23. It scans module files in /lib/modules/`uname -r` and
  24. determines dependencies and module alias names on the fly.
  25. This may make module loading slower, most notably
  26. when one needs to load module by alias (this requires
  27. scanning through module _bodies_).
  28. At the first attempt to load a module by alias modprobe
  29. will try to generate modules.dep.bb file in order to speed up
  30. future loads by alias. Failure to do so (read-only /lib/modules,
  31. etc) is not reported, and future modprobes will be slow too.
  32. NB: modules.dep.bb file format is not compatible
  33. with modules.dep file as created/used by standard module tools.
  34. Additional module parameters can be stored in
  35. /etc/modules/$module_name files.
  36. Apart from modprobe, other utilities are also provided:
  37. - insmod is an alias to modprobe
  38. - rmmod is an alias to modprobe -r
  39. - depmod generates modules.dep.bb
  40. As of 2008-07, this code is experimental. It is 14kb smaller
  41. than "non-small" modutils.
  42. config BUSYBOX_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
  43. bool "Accept module options on modprobe command line"
  44. default y
  45. depends on BUSYBOX_MODPROBE_SMALL
  46. select BUSYBOX_PLATFORM_LINUX
  47. help
  48. Allow insmod and modprobe take module options from command line.
  49. config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
  50. bool "Skip loading of already loaded modules"
  51. default y
  52. depends on BUSYBOX_MODPROBE_SMALL
  53. help
  54. Check if the module is already loaded.
  55. config BUSYBOX_INSMOD
  56. bool "insmod"
  57. default y
  58. depends on !BUSYBOX_MODPROBE_SMALL
  59. depends on !BUSYBOX_DISABLE_KMOD
  60. select BUSYBOX_PLATFORM_LINUX
  61. help
  62. insmod is used to load specified modules in the running kernel.
  63. config BUSYBOX_RMMOD
  64. bool "rmmod"
  65. default y
  66. depends on !BUSYBOX_MODPROBE_SMALL
  67. depends on !BUSYBOX_DISABLE_KMOD
  68. select BUSYBOX_PLATFORM_LINUX
  69. help
  70. rmmod is used to unload specified modules from the kernel.
  71. config BUSYBOX_LSMOD
  72. bool "lsmod"
  73. default y
  74. depends on !BUSYBOX_MODPROBE_SMALL
  75. depends on !BUSYBOX_DISABLE_KMOD
  76. select BUSYBOX_PLATFORM_LINUX
  77. help
  78. lsmod is used to display a list of loaded modules.
  79. config BUSYBOX_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  80. bool "Pretty output"
  81. default n
  82. depends on BUSYBOX_LSMOD
  83. select BUSYBOX_PLATFORM_LINUX
  84. help
  85. This option makes output format of lsmod adjusted to
  86. the format of module-init-tools for Linux kernel 2.6.
  87. Increases size somewhat.
  88. config BUSYBOX_MODPROBE
  89. bool "modprobe"
  90. default n
  91. depends on !BUSYBOX_DISABLE_KMOD
  92. depends on !BUSYBOX_MODPROBE_SMALL
  93. select BUSYBOX_PLATFORM_LINUX
  94. help
  95. Handle the loading of modules, and their dependencies on a high
  96. level.
  97. config BUSYBOX_FEATURE_MODPROBE_BLACKLIST
  98. bool "Blacklist support"
  99. default n
  100. depends on BUSYBOX_MODPROBE
  101. select BUSYBOX_PLATFORM_LINUX
  102. help
  103. Say 'y' here to enable support for the 'blacklist' command in
  104. modprobe.conf. This prevents the alias resolver to resolve
  105. blacklisted modules. This is useful if you want to prevent your
  106. hardware autodetection scripts to load modules like evdev, frame
  107. buffer drivers etc.
  108. config BUSYBOX_DEPMOD
  109. bool "depmod"
  110. default n
  111. depends on !BUSYBOX_DISABLE_KMOD
  112. depends on !BUSYBOX_MODPROBE_SMALL
  113. select BUSYBOX_PLATFORM_LINUX
  114. help
  115. depmod generates modules.dep (and potentially modules.alias
  116. and modules.symbols) that contain dependency information
  117. for modprobe.
  118. comment "Options common to multiple modutils"
  119. config BUSYBOX_FEATURE_CMDLINE_MODULE_OPTIONS
  120. bool "Accept module options on modprobe command line"
  121. default y
  122. depends on BUSYBOX_INSMOD || BUSYBOX_MODPROBE
  123. help
  124. Allow insmod and modprobe take module options from the applets'
  125. command line.
  126. config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
  127. bool "Skip loading of already loaded modules"
  128. default y
  129. depends on BUSYBOX_MODPROBE_SMALL && (BUSYBOX_DEPMOD || BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  130. help
  131. Check if the module is already loaded.
  132. config BUSYBOX_FEATURE_2_4_MODULES
  133. bool "Support version 2.2/2.4 Linux kernels"
  134. default n
  135. depends on BUSYBOX_INSMOD || BUSYBOX_RMMOD || BUSYBOX_LSMOD
  136. select BUSYBOX_PLATFORM_LINUX
  137. help
  138. Support module loading for 2.2.x and 2.4.x Linux kernels.
  139. This increases size considerably. Say N unless you plan
  140. to run ancient kernels.
  141. config BUSYBOX_FEATURE_INSMOD_TRY_MMAP
  142. bool "Try to load module from a mmap'ed area"
  143. default n
  144. depends on BUSYBOX_INSMOD || BUSYBOX_MODPROBE_SMALL
  145. select BUSYBOX_PLATFORM_LINUX
  146. help
  147. This option causes module loading code to try to mmap
  148. module first. If it does not work (for example,
  149. it does not work for compressed modules), module will be read
  150. (and unpacked if needed) into a memory block allocated by malloc.
  151. The only case when mmap works but malloc does not is when
  152. you are trying to load a big module on a very memory-constrained
  153. machine. Malloc will momentarily need 2x as much memory as mmap.
  154. Choosing N saves about 250 bytes of code (on 32-bit x86).
  155. config BUSYBOX_FEATURE_INSMOD_VERSION_CHECKING
  156. bool "Enable module version checking"
  157. default n
  158. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  159. select BUSYBOX_PLATFORM_LINUX
  160. help
  161. Support checking of versions for modules. This is used to
  162. ensure that the kernel and module are made for each other.
  163. config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  164. bool "Add module symbols to kernel symbol table"
  165. default n
  166. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  167. select BUSYBOX_PLATFORM_LINUX
  168. help
  169. By adding module symbols to the kernel symbol table, Oops messages
  170. occuring within kernel modules can be properly debugged. By enabling
  171. this feature, module symbols will always be added to the kernel symbol
  172. table for proper debugging support. If you are not interested in
  173. Oops messages from kernel modules, say N.
  174. config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
  175. bool "In kernel memory optimization (uClinux only)"
  176. default n
  177. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  178. select BUSYBOX_PLATFORM_LINUX
  179. help
  180. This is a special uClinux only memory optimization that lets insmod
  181. load the specified kernel module directly into kernel space, reducing
  182. memory usage by preventing the need for two copies of the module
  183. being loaded into memory.
  184. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
  185. bool "Enable insmod load map (-m) option"
  186. default n
  187. depends on BUSYBOX_FEATURE_2_4_MODULES && BUSYBOX_INSMOD
  188. select BUSYBOX_PLATFORM_LINUX
  189. help
  190. Enabling this, one would be able to get a load map
  191. output on stdout. This makes kernel module debugging
  192. easier.
  193. If you don't plan to debug kernel modules, you
  194. don't need this option.
  195. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
  196. bool "Symbols in load map"
  197. default n
  198. depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_MODPROBE_SMALL
  199. select BUSYBOX_PLATFORM_LINUX
  200. help
  201. Without this option, -m will only output section
  202. load map. With this option, -m will also output
  203. symbols load map.
  204. config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
  205. bool "Support tainted module checking with new kernels"
  206. default y
  207. depends on (BUSYBOX_LSMOD || BUSYBOX_FEATURE_2_4_MODULES) && !BUSYBOX_MODPROBE_SMALL
  208. select BUSYBOX_PLATFORM_LINUX
  209. help
  210. Support checking for tainted modules. These are usually binary
  211. only modules that will make the linux-kernel list ignore your
  212. support request.
  213. This option is required to support GPLONLY modules.
  214. config BUSYBOX_FEATURE_MODUTILS_ALIAS
  215. bool "Support for module.aliases file"
  216. default y
  217. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  218. select BUSYBOX_PLATFORM_LINUX
  219. help
  220. Generate and parse modules.alias containing aliases for bus
  221. identifiers:
  222. alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
  223. and aliases for logical modules names e.g.:
  224. alias padlock_aes aes
  225. alias aes_i586 aes
  226. alias aes_generic aes
  227. Say Y if unsure.
  228. config BUSYBOX_FEATURE_MODUTILS_SYMBOLS
  229. bool "Support for module.symbols file"
  230. default y
  231. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  232. select BUSYBOX_PLATFORM_LINUX
  233. help
  234. Generate and parse modules.symbols containing aliases for
  235. symbol_request() kernel calls, such as:
  236. alias symbol:usb_sg_init usbcore
  237. Say Y if unsure.
  238. config BUSYBOX_DEFAULT_MODULES_DIR
  239. string "Default directory containing modules"
  240. default "/lib/modules"
  241. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL || BUSYBOX_MODINFO
  242. help
  243. Directory that contains kernel modules.
  244. Defaults to "/lib/modules"
  245. config BUSYBOX_DEFAULT_DEPMOD_FILE
  246. string "Default name of modules.dep"
  247. default "modules.dep"
  248. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL || BUSYBOX_MODINFO
  249. help
  250. Filename that contains kernel modules dependencies.
  251. Defaults to "modules.dep"
  252. endmenu