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