Config.in 8.0 KB

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