summaryrefslogtreecommitdiffhomepage
path: root/modutils/config.in
blob: 7fe7ec1951e7fda99b5ea3f625b0d28c3d30edc0 (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
31
32
33
#
# 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 older (pre 2.1) Linux kernels'		CONFIG_FEATURE_OLD_MODULE_INTERFACE
    if [ "$CONFIG_FEATURE_OLD_MODULE_INTERFACE" = "n" ] ; then
	    define_bool CONFIG_FEATURE_NEW_MODULE_INTERFACE	y
    fi
    bool 'Support for new (post 2.1) kernels'			CONFIG_FEATURE_NEW_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