Config.in 9.6 KB

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