Config.in 9.8 KB

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