blob: 10b0a9c33bc640487582be24805932255090ad1f [file] [log] [blame]
Eric Andersenbdfd0d72001-10-24 05:00:29 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Module Utilities'
8
9
10bool 'insmod' CONFIG_INSMOD
11bool 'lsmod' CONFIG_LSMOD
12bool 'modprobe' CONFIG_MODPROBE
13bool 'rmmod' CONFIG_RMMOD
14
15if [ "$CONFIG_INSMOD" = "y" ]; then
Eric Andersen71312132001-11-10 09:53:23 +000016 comment 'Module support options'
Eric Andersen2bec97c2002-09-01 06:45:55 +000017 bool 'Support for older (pre 2.1) Linux kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE
Eric Andersen8302c432002-05-24 06:59:22 +000018 if [ "$CONFIG_FEATURE_OLD_MODULE_INTERFACE" = "n" ] ; then
19 define_bool CONFIG_FEATURE_NEW_MODULE_INTERFACE y
20 fi
Eric Andersen71312132001-11-10 09:53:23 +000021 bool 'Support for new (post 2.1) kernels' CONFIG_FEATURE_NEW_MODULE_INTERFACE
Eric Andersenbdfd0d72001-10-24 05:00:29 +000022 bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING
Eric Andersen71312132001-11-10 09:53:23 +000023 bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM
Eric Andersenbdfd0d72001-10-24 05:00:29 +000024fi
25
Eric Andersenfcffa2c2002-04-06 05:17:57 +000026if [ "$CONFIG_LSMOD" = "y" ]; then
27 if [ "$CONFIG_FEATURE_NEW_MODULE_INTERFACE" = "y" ]; then
28 bool 'Support lsmod query_module interface (add 638 bytes)' CONFIG_FEATURE_QUERY_MODULE_INTERFACE
29 fi
30fi
31
Eric Andersen71ae64b2002-10-10 04:20:21 +000032if [ "$CONFIG_INSMOD" = "y" -o "$CONFIG_LSMOD" = "y" ]; then
33 bool 'Support tainted module checking with new kernels' CONFIG_FEATURE_CHECK_TAINTED_MODULE
34fi
35
Eric Andersenbdfd0d72001-10-24 05:00:29 +000036endmenu
37