Config.in 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 INSMOD
  7. bool "insmod"
  8. default n
  9. help
  10. insmod is used to load specified modules in the running kernel.
  11. config FEATURE_INSMOD_VERSION_CHECKING
  12. bool "Module version checking"
  13. default n
  14. depends on INSMOD && FEATURE_2_4_MODULES
  15. help
  16. Support checking of versions for modules. This is used to
  17. ensure that the kernel and module are made for each other.
  18. config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
  19. bool "Add module symbols to kernel symbol table"
  20. default n
  21. depends on INSMOD && FEATURE_2_4_MODULES
  22. help
  23. By adding module symbols to the kernel symbol table, Oops messages
  24. occuring within kernel modules can be properly debugged. By enabling
  25. this feature, module symbols will always be added to the kernel symbol
  26. table for properly debugging support. If you are not interested in
  27. Oops messages from kernel modules, say N.
  28. config FEATURE_INSMOD_LOADINKMEM
  29. bool "In kernel memory optimization (uClinux only)"
  30. default n
  31. depends on INSMOD && FEATURE_2_4_MODULES
  32. help
  33. This is a special uClinux only memory optimization that lets insmod
  34. load the specified kernel module directly into kernel space, reducing
  35. memory usage by preventing the need for two copies of the module
  36. being loaded into memory.
  37. config FEATURE_INSMOD_LOAD_MAP
  38. bool "Enable load map (-m) option"
  39. default n
  40. depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )
  41. help
  42. Enabling this, one would be able to get a load map
  43. output on stdout. This makes kernel module debugging
  44. easier.
  45. If you don't plan to debug kernel modules, you
  46. don't need this option.
  47. config FEATURE_INSMOD_LOAD_MAP_FULL
  48. bool "Symbols in load map"
  49. default y
  50. depends on FEATURE_INSMOD_LOAD_MAP
  51. help
  52. Without this option, -m will only output section
  53. load map. With this option, -m will also output
  54. symbols load map.
  55. config RMMOD
  56. bool "rmmod"
  57. default n
  58. help
  59. rmmod is used to unload specified modules from the kernel.
  60. config LSMOD
  61. bool "lsmod"
  62. default n
  63. help
  64. lsmod is used to display a list of loaded modules.
  65. config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
  66. bool "lsmod pretty output for 2.6.x Linux kernels "
  67. default n
  68. depends on LSMOD
  69. help
  70. This option makes output format of lsmod adjusted to
  71. the format of module-init-tools for Linux kernel 2.6.
  72. config MODPROBE
  73. bool "modprobe"
  74. default n
  75. help
  76. Handle the loading of modules, and their dependencies on a high
  77. level.
  78. Note that in the state, modprobe does not understand multiple
  79. module options from the configuration file. See option below.
  80. config FEATURE_MODPROBE_MULTIPLE_OPTIONS
  81. bool
  82. prompt "Multiple options parsing" if NITPICK
  83. default y
  84. depends on MODPROBE
  85. help
  86. Allow modprobe to understand more than one option to pass to
  87. modules.
  88. This is a WIP, while waiting for a common argument parsing
  89. common amongst all BB applets (shell, modprobe, etc...) and
  90. adds around 600 bytes on x86, 700 bytes on ARM. The code is
  91. biggish and uggly, but just works.
  92. Saying Y here is not a bad idea if you're not that short
  93. on storage capacity.
  94. config FEATURE_MODPROBE_FANCY_ALIAS
  95. bool
  96. prompt "Fancy alias parsing" if NITPICK
  97. default y
  98. depends on MODPROBE && FEATURE_2_6_MODULES
  99. help
  100. Say 'y' here to enable parsing of aliases with underscore/dash
  101. mismatch between module name and file name, along with bus-specific
  102. aliases (such as pci:... or usb:... aliases).
  103. comment "Options common to multiple modutils"
  104. depends on INSMOD || RMMOD || MODPROBE || LSMOD
  105. config FEATURE_CHECK_TAINTED_MODULE
  106. # Simulate indentation
  107. bool "Support tainted module checking with new kernels"
  108. default y
  109. depends on INSMOD || LSMOD
  110. help
  111. Support checking for tainted modules. These are usually binary
  112. only modules that will make the linux-kernel list ignore your
  113. support request.
  114. This option is required to support GPLONLY modules.
  115. config FEATURE_2_4_MODULES
  116. # Simulate indentation
  117. bool "Support version 2.2.x to 2.4.x Linux kernels"
  118. default y
  119. depends on INSMOD || RMMOD || MODPROBE
  120. help
  121. Support module loading for 2.2.x and 2.4.x Linux kernels.
  122. config FEATURE_2_6_MODULES
  123. # Simulate indentation
  124. bool "Support version 2.6.x Linux kernels"
  125. default y
  126. depends on INSMOD || RMMOD || MODPROBE
  127. help
  128. Support module loading for newer 2.6.x Linux kernels.
  129. config FEATURE_QUERY_MODULE_INTERFACE
  130. bool
  131. default y
  132. depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES
  133. endmenu