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