Config.in 9.9 KB

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