2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Linux Module Utilities"
8 config BUSYBOX_CONFIG_INSMOD
12 insmod is used to load specified modules in the running kernel.
14 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
15 bool "Module version checking"
17 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
19 Support checking of versions for modules. This is used to
20 ensure that the kernel and module are made for each other.
22 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
23 bool "Add module symbols to kernel symbol table"
25 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
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.
33 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
34 bool "In kernel memory optimization (uClinux only)"
36 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
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.
43 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
44 bool "Enable load map (-m) option"
46 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
48 Enabling this, one would be able to get a load map
49 output on stdout. This makes kernel module debugging
51 If you don't plan to debug kernel modules, you
52 don't need this option.
54 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
55 bool "Symbols in load map"
57 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
59 Without this option, -m will only output section
60 load map. With this option, -m will also output
63 config BUSYBOX_CONFIG_RMMOD
67 rmmod is used to unload specified modules from the kernel.
69 config BUSYBOX_CONFIG_LSMOD
73 lsmod is used to display a list of loaded modules.
75 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
76 bool "lsmod pretty output for 2.6.x Linux kernels "
78 depends on BUSYBOX_CONFIG_LSMOD
80 This option makes output format of lsmod adjusted to
81 the format of module-init-tools for Linux kernel 2.6.
83 config BUSYBOX_CONFIG_MODPROBE
87 Handle the loading of modules, and their dependencies on a high
90 Note that in the state, modprobe does not understand multiple
91 module options from the configuration file. See option below.
93 config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS
94 bool "Multiple options parsing"
96 depends on BUSYBOX_CONFIG_MODPROBE
98 Allow modprobe to understand more than one option to pass to
101 This is a WIP, while waiting for a common argument parsing
102 common amongst all BB applets (shell, modprobe, etc...) and
103 adds around 600 bytes on x86, 700 bytes on ARM. The code is
104 biggish and uggly, but just works.
106 Saying Y here is not a bad idea if you're not that short
109 comment "Options common to multiple modutils"
110 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_LSMOD
112 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
113 # Simulate indentation
114 bool "Support tainted module checking with new kernels"
116 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
118 Support checking for tainted modules. These are usually binary
119 only modules that will make the linux-kernel list ignore your
121 This option is required to support GPLONLY modules.
123 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
124 # Simulate indentation
125 bool "Support version 2.2.x to 2.4.x Linux kernels"
127 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD
129 Support module loading for 2.2.x and 2.4.x Linux kernels.
131 config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
132 # Simulate indentation
133 bool "Support version 2.6.x Linux kernels"
135 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
137 Support module loading for newer 2.6.x Linux kernels.
140 config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
143 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES