Config.in 9.1 KB

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