Config.in 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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_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_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
  33. bool "Accept module options on modprobe command line"
  34. default n
  35. depends on BUSYBOX_MODPROBE_SMALL
  36. help
  37. Allow insmod and modprobe take module options from command line.
  38. config BUSYBOX_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
  39. bool "Skip loading of already loaded modules"
  40. default n
  41. depends on BUSYBOX_MODPROBE_SMALL
  42. help
  43. Check if the module is already loaded.
  44. config BUSYBOX_INSMOD
  45. bool "insmod"
  46. default y
  47. depends on !BUSYBOX_MODPROBE_SMALL
  48. help
  49. insmod is used to load specified modules in the running kernel.
  50. config BUSYBOX_RMMOD
  51. bool "rmmod"
  52. default y
  53. depends on !BUSYBOX_MODPROBE_SMALL
  54. help
  55. rmmod is used to unload specified modules from the kernel.
  56. config BUSYBOX_LSMOD
  57. bool "lsmod"
  58. default y
  59. depends on !BUSYBOX_MODPROBE_SMALL
  60. help
  61. lsmod is used to display a list of loaded modules.
  62. config BUSYBOX_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  63. bool "Pretty output"
  64. default n
  65. depends on BUSYBOX_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_MODPROBE
  71. bool "modprobe"
  72. default n
  73. depends on !BUSYBOX_MODPROBE_SMALL
  74. help
  75. Handle the loading of modules, and their dependencies on a high
  76. level.
  77. config BUSYBOX_FEATURE_MODPROBE_BLACKLIST
  78. bool "Blacklist support"
  79. default n
  80. depends on BUSYBOX_MODPROBE
  81. help
  82. Say 'y' here to enable support for the 'blacklist' command in
  83. modprobe.conf. This prevents the alias resolver to resolve
  84. blacklisted modules. This is useful if you want to prevent your
  85. hardware autodetection scripts to load modules like evdev, frame
  86. buffer drivers etc.
  87. config BUSYBOX_DEPMOD
  88. bool "depmod"
  89. default n
  90. depends on !BUSYBOX_MODPROBE_SMALL
  91. help
  92. depmod generates modules.dep (and potentially modules.alias
  93. and modules.symbols) that contain dependency information
  94. for modprobe.
  95. comment "Options common to multiple modutils"
  96. config BUSYBOX_FEATURE_2_4_MODULES
  97. bool "Support version 2.2/2.4 Linux kernels"
  98. default n
  99. depends on BUSYBOX_INSMOD || BUSYBOX_RMMOD || BUSYBOX_LSMOD
  100. help
  101. Support module loading for 2.2.x and 2.4.x Linux kernels.
  102. This increases size considerably. Say N unless you plan
  103. to run ancient kernels.
  104. config BUSYBOX_FEATURE_INSMOD_VERSION_CHECKING
  105. bool "Enable module version checking"
  106. default n
  107. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  108. help
  109. Support checking of versions for modules. This is used to
  110. ensure that the kernel and module are made for each other.
  111. config BUSYBOX_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  112. bool "Add module symbols to kernel symbol table"
  113. default n
  114. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  115. help
  116. By adding module symbols to the kernel symbol table, Oops messages
  117. occuring within kernel modules can be properly debugged. By enabling
  118. this feature, module symbols will always be added to the kernel symbol
  119. table for proper debugging support. If you are not interested in
  120. Oops messages from kernel modules, say N.
  121. config BUSYBOX_FEATURE_INSMOD_LOADINKMEM
  122. bool "In kernel memory optimization (uClinux only)"
  123. default n
  124. depends on BUSYBOX_FEATURE_2_4_MODULES && (BUSYBOX_INSMOD || BUSYBOX_MODPROBE)
  125. help
  126. This is a special uClinux only memory optimization that lets insmod
  127. load the specified kernel module directly into kernel space, reducing
  128. memory usage by preventing the need for two copies of the module
  129. being loaded into memory.
  130. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
  131. bool "Enable insmod load map (-m) option"
  132. default n
  133. depends on BUSYBOX_FEATURE_2_4_MODULES && BUSYBOX_INSMOD
  134. help
  135. Enabling this, one would be able to get a load map
  136. output on stdout. This makes kernel module debugging
  137. easier.
  138. If you don't plan to debug kernel modules, you
  139. don't need this option.
  140. config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
  141. bool "Symbols in load map"
  142. default y
  143. depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_MODPROBE_SMALL
  144. help
  145. Without this option, -m will only output section
  146. load map. With this option, -m will also output
  147. symbols load map.
  148. config BUSYBOX_FEATURE_CHECK_TAINTED_MODULE
  149. bool "Support tainted module checking with new kernels"
  150. default y
  151. depends on (BUSYBOX_LSMOD || BUSYBOX_FEATURE_2_4_MODULES) && !BUSYBOX_MODPROBE_SMALL
  152. help
  153. Support checking for tainted modules. These are usually binary
  154. only modules that will make the linux-kernel list ignore your
  155. support request.
  156. This option is required to support GPLONLY modules.
  157. config BUSYBOX_FEATURE_MODUTILS_ALIAS
  158. bool "Support for module.aliases file"
  159. default y
  160. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  161. help
  162. Generate and parse modules.alias containing aliases for bus
  163. identifiers:
  164. alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
  165. and aliases for logical modules names e.g.:
  166. alias padlock_aes aes
  167. alias aes_i586 aes
  168. alias aes_generic aes
  169. Say Y if unsure.
  170. config BUSYBOX_FEATURE_MODUTILS_SYMBOLS
  171. bool "Support for module.symbols file"
  172. default y
  173. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE
  174. help
  175. Generate and parse modules.symbols containing aliases for
  176. symbol_request() kernel calls, such as:
  177. alias symbol:usb_sg_init usbcore
  178. Say Y if unsure.
  179. config BUSYBOX_DEFAULT_MODULES_DIR
  180. string "Default directory containing modules"
  181. default "/lib/modules"
  182. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL
  183. help
  184. Directory that contains kernel modules.
  185. Defaults to "/lib/modules"
  186. config BUSYBOX_DEFAULT_DEPMOD_FILE
  187. string "Default name of modules.dep"
  188. default "modules.dep"
  189. depends on BUSYBOX_DEPMOD || BUSYBOX_MODPROBE || BUSYBOX_MODPROBE_SMALL
  190. help
  191. Filename that contains kernel modules dependencies.
  192. Defaults to "modules.dep"
  193. endmenu