aboutsummaryrefslogtreecommitdiff
path: root/modutils/config.in
blob: f5256bb1f5a686ad9b610144d1d1487203d40920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

mainmenu_option next_comment
comment 'Module Utilities'


bool 'insmod'	    CONFIG_INSMOD
bool 'lsmod'	    CONFIG_LSMOD
bool 'modprobe'	    CONFIG_MODPROBE
bool 'rmmod'	    CONFIG_RMMOD

if [ "$CONFIG_INSMOD" = "y" ]; then
    comment 'Module support options'
    bool 'Support for new (post 2.1) kernels'			CONFIG_FEATURE_NEW_MODULE_INTERFACE
    bool 'Support for older (pre 2.1) Linux kernels'		CONFIG_FEATURE_OLD_MODULE_INTERFACE
    bool 'Support module version checking'			CONFIG_FEATURE_INSMOD_VERSION_CHECKING
    bool 'Support image in kernel memory optimization (uClinux only)'		CONFIG_FEATURE_INSMOD_LOADINKMEM
fi

if [ "$CONFIG_LSMOD" = "y" ]; then
	if [ "$CONFIG_FEATURE_NEW_MODULE_INTERFACE" = "y" ]; then
		bool 'Support lsmod query_module interface (add 638 bytes)'     CONFIG_FEATURE_QUERY_MODULE_INTERFACE
	fi
fi

endmenu