Config.in 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Linux Module Utilities"
  6. config BUSYBOX_DEFAULT_MODULES_DIR
  7. string "Default directory containing modules"
  8. default "/lib/modules"
  9. help
  10. Directory that contains kernel modules.
  11. Defaults to "/lib/modules"
  12. config BUSYBOX_DEFAULT_DEPMOD_FILE
  13. string "Default name of modules.dep"
  14. default "modules.dep"
  15. help
  16. Filename that contains kernel modules dependencies.
  17. Defaults to "modules.dep"
  18. config BUSYBOX_MODPROBE_SMALL
  19. bool "Simplified modutils"
  20. default n
  21. help
  22. Simplified modutils.
  23. With this option modprobe does not require modules.dep file
  24. and does not use /etc/modules.conf file.
  25. It scans module files in /lib/modules/`uname -r` and
  26. determines dependencies and module alias names on the fly.
  27. This may make module loading slower, most notably
  28. when one needs to load module by alias (this requires
  29. scanning through module _bodies_).
  30. At the first attempt to load a module by alias modprobe
  31. will try to generate modules.dep.bb file in order to speed up
  32. future loads by alias. Failure to do so (read-only /lib/modules,
  33. etc) is not reported, and future modprobes will be slow too.
  34. NB: modules.dep.bb file format is not compatible
  35. with modules.dep file as created/used by standard module tools.
  36. Additional module parameters can be stored in
  37. /etc/modules/$module_name files.
  38. Apart from modprobe, other utilities are also provided:
  39. - insmod is an alias to modprobe
  40. - rmmod is an alias to modprobe -r
  41. - depmod generates modules.dep.bb
  42. As of 2008-07, this code is experimental. It is 14kb smaller
  43. than "non-small" modutils.
  44. config BUSYBOX_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
  45. bool "Accept module options on modprobe command line"
  46. default n
  47. depends on BUSYBOX_MODPROBE_SMALL
  48. help
  49. Allow insmod and modprobe take module options from command line.
  50. N.B. Very bloaty.
  51. config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
  52. bool "Skip loading of already loaded modules"
  53. default n
  54. depends on BUSYBOX_MODPROBE_SMALL
  55. help
  56. Check if the module is already loaded.
  57. N.B. It's racy.
  58. config BUSYBOX_INSMOD
  59. bool "insmod"
  60. default y
  61. depends on !BUSYBOX_MODPROBE_SMALL
  62. help
  63. insmod is used to load specified modules in the running kernel.
  64. config BUSYBOX_RMMOD
  65. bool "rmmod"
  66. default y
  67. depends on !BUSYBOX_MODPROBE_SMALL
  68. help
  69. rmmod is used to unload specified modules from the kernel.
  70. config BUSYBOX_LSMOD
  71. bool "lsmod"
  72. default y
  73. depends on !BUSYBOX_MODPROBE_SMALL
  74. help
  75. lsmod is used to display a list of loaded modules.
  76. config BUSYBOX_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  77. bool "Pretty output"
  78. default n
  79. depends on BUSYBOX_LSMOD
  80. help
  81. This option makes output format of lsmod adjusted to
  82. the format of module-init-tools for Linux kernel 2.6.
  83. Increases size somewhat.
  84. config BUSYBOX_MODPROBE
  85. bool "modprobe"
  86. default n
  87. depends on !BUSYBOX_MODPROBE_SMALL
  88. help
  89. Handle the loading of modules, and their dependencies on a high
  90. level.
  91. Note that in the state, modprobe does not understand multiple
  92. module options from the configuration file. See option below.
  93. config BUSYBOX_FEATURE_MODPROBE_BLACKLIST
  94. bool
  95. prompt "Blacklist support"
  96. default n
  97. depends on BUSYBOX_MODPROBE
  98. help
  99. Say 'y' here to enable support for the 'blacklist' command in
  100. modprobe.conf. This prevents the alias resolver to resolve
  101. blacklisted modules. This is useful if you want to prevent your
  102. hardware autodetection scripts to load modules like evdev, frame
  103. buffer drivers etc.
  104. config BUSYBOX_DEPMOD
  105. bool "depmod"
  106. default n
  107. depends on !BUSYBOX_MODPROBE_SMALL
  108. help
  109. depmod generates modules.dep (and potentially modules.alias
  110. and modules.symbols) that contain dependency information
  111. for modprobe.
  112. comment "Options common to multiple modutils"
  113. config BUSYBOX_FEATURE_2_4_MODULES
  114. bool "Support version 2.2/2.4 Linux kernels"
  115. default n
  116. depends on BUSYBOX_INSMOD || BUSYBOX_RMMOD || BUSYBOX_LSMOD
  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_FEATURE_INSMOD_VERSION_CHECKING
  122. bool "Enable module version checking"
  123. default n
  124. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  125. help
  126. Support checking of versions for modules. This is used to
  127. ensure that the kernel and module are made for each other.
  128. config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  129. bool "Add module symbols to kernel symbol table"
  130. default n
  131. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  132. help
  133. By adding module symbols to the kernel symbol table, Oops messages
  134. occuring within kernel modules can be properly debugged. By enabling
  135. this feature, module symbols will always be added to the kernel symbol
  136. table for properly debugging support. If you are not interested in
  137. Oops messages from kernel modules, say N.
  138. config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
  139. bool "In kernel memory optimization (uClinux only)"
  140. default n
  141. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  142. help
  143. This is a special uClinux only memory optimization that lets insmod
  144. load the specified kernel module directly into kernel space, reducing
  145. memory usage by preventing the need for two copies of the module
  146. being loaded into memory.
  147. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
  148. bool "Enable insmod load map (-m) option"
  149. default n
  150. depends on BUSYBOX_FEATURE_2_4_MODULES && BUSYBOX_INSMOD
  151. help
  152. Enabling this, one would be able to get a load map
  153. output on stdout. This makes kernel module debugging
  154. easier.
  155. If you don't plan to debug kernel modules, you
  156. don't need this option.
  157. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
  158. bool "Symbols in load map"
  159. default y
  160. depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_MODPROBE_SMALL
  161. help
  162. Without this option, -m will only output section
  163. load map. With this option, -m will also output
  164. symbols load map.
  165. config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
  166. bool "Support tainted module checking with new kernels"
  167. default y
  168. depends on !BUSYBOX_MODPROBE_SMALL
  169. help
  170. Support checking for tainted modules. These are usually binary
  171. only modules that will make the linux-kernel list ignore your
  172. support request.
  173. This option is required to support GPLONLY modules.
  174. config BUSYBOX_FEATURE_MODUTILS_ALIAS
  175. bool "Support for module.aliases file"
  176. default y
  177. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  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 for module.symbols file"
  189. default y
  190. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  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. endmenu