Config.in 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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 y
  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_2_4_MODULES
  120. bool "Support version 2.2/2.4 Linux kernels"
  121. default n
  122. depends on BUSYBOX_INSMOD || BUSYBOX_RMMOD || BUSYBOX_LSMOD
  123. select BUSYBOX_PLATFORM_LINUX
  124. help
  125. Support module loading for 2.2.x and 2.4.x Linux kernels.
  126. This increases size considerably. Say N unless you plan
  127. to run ancient kernels.
  128. config BUSYBOX_FEATURE_INSMOD_TRY_MMAP
  129. bool "Try to load module from a mmap'ed area"
  130. default n
  131. depends on BUSYBOX_INSMOD || BUSYBOX_MODPROBE_SMALL
  132. select BUSYBOX_PLATFORM_LINUX
  133. help
  134. This option causes module loading code to try to mmap
  135. module first. If it does not work (for example,
  136. it does not work for compressed modules), module will be read
  137. (and unpacked if needed) into a memory block allocated by malloc.
  138. The only case when mmap works but malloc does not is when
  139. you are trying to load a big module on a very memory-constrained
  140. machine. Malloc will momentarily need 2x as much memory as mmap.
  141. Choosing N saves about 250 bytes of code (on 32-bit x86).
  142. config BUSYBOX_FEATURE_INSMOD_VERSION_CHECKING
  143. bool "Enable module version checking"
  144. default n
  145. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  146. select BUSYBOX_PLATFORM_LINUX
  147. help
  148. Support checking of versions for modules. This is used to
  149. ensure that the kernel and module are made for each other.
  150. config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  151. bool "Add module symbols to kernel symbol table"
  152. default n
  153. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  154. select BUSYBOX_PLATFORM_LINUX
  155. help
  156. By adding module symbols to the kernel symbol table, Oops messages
  157. occuring within kernel modules can be properly debugged. By enabling
  158. this feature, module symbols will always be added to the kernel symbol
  159. table for proper debugging support. If you are not interested in
  160. Oops messages from kernel modules, say N.
  161. config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
  162. bool "In kernel memory optimization (uClinux only)"
  163. default n
  164. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  165. select BUSYBOX_PLATFORM_LINUX
  166. help
  167. This is a special uClinux only memory optimization that lets insmod
  168. load the specified kernel module directly into kernel space, reducing
  169. memory usage by preventing the need for two copies of the module
  170. being loaded into memory.
  171. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
  172. bool "Enable insmod load map (-m) option"
  173. default n
  174. depends on BUSYBOX_FEATURE_2_4_MODULES && BUSYBOX_INSMOD
  175. select BUSYBOX_PLATFORM_LINUX
  176. help
  177. Enabling this, one would be able to get a load map
  178. output on stdout. This makes kernel module debugging
  179. easier.
  180. If you don't plan to debug kernel modules, you
  181. don't need this option.
  182. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
  183. bool "Symbols in load map"
  184. default y
  185. depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_MODPROBE_SMALL
  186. select BUSYBOX_PLATFORM_LINUX
  187. help
  188. Without this option, -m will only output section
  189. load map. With this option, -m will also output
  190. symbols load map.
  191. config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
  192. bool "Support tainted module checking with new kernels"
  193. default y
  194. depends on (BUSYBOX_LSMOD || BUSYBOX_FEATURE_2_4_MODULES) && !BUSYBOX_MODPROBE_SMALL
  195. select BUSYBOX_PLATFORM_LINUX
  196. help
  197. Support checking for tainted modules. These are usually binary
  198. only modules that will make the linux-kernel list ignore your
  199. support request.
  200. This option is required to support GPLONLY modules.
  201. config BUSYBOX_FEATURE_MODUTILS_ALIAS
  202. bool "Support for module.aliases file"
  203. default y
  204. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  205. select BUSYBOX_PLATFORM_LINUX
  206. help
  207. Generate and parse modules.alias containing aliases for bus
  208. identifiers:
  209. alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
  210. and aliases for logical modules names e.g.:
  211. alias padlock_aes aes
  212. alias aes_i586 aes
  213. alias aes_generic aes
  214. Say Y if unsure.
  215. config BUSYBOX_FEATURE_MODUTILS_SYMBOLS
  216. bool "Support for module.symbols file"
  217. default y
  218. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  219. select BUSYBOX_PLATFORM_LINUX
  220. help
  221. Generate and parse modules.symbols containing aliases for
  222. symbol_request() kernel calls, such as:
  223. alias symbol:usb_sg_init usbcore
  224. Say Y if unsure.
  225. config BUSYBOX_DEFAULT_MODULES_DIR
  226. string "Default directory containing modules"
  227. default "/lib/modules"
  228. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL || BUSYBOX_MODINFO
  229. help
  230. Directory that contains kernel modules.
  231. Defaults to "/lib/modules"
  232. config BUSYBOX_DEFAULT_DEPMOD_FILE
  233. string "Default name of modules.dep"
  234. default "modules.dep"
  235. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL || BUSYBOX_MODINFO
  236. help
  237. Filename that contains kernel modules dependencies.
  238. Defaults to "modules.dep"
  239. endmenu