diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/Config.in | 84 | ||||
-rw-r--r-- | modutils/config.in | 37 |
2 files changed, 84 insertions, 37 deletions
diff --git a/modutils/Config.in b/modutils/Config.in new file mode 100644 index 000000000..9af0ad6dc --- /dev/null +++ b/modutils/Config.in | |||
@@ -0,0 +1,84 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "Module Utilities" | ||
7 | |||
8 | config CONFIG_INSMOD | ||
9 | bool "insmod" | ||
10 | default n | ||
11 | help | ||
12 | Please submit a patch to add help text for this item. | ||
13 | |||
14 | config CONFIG_FEATURE_OLD_MODULE_INTERFACE | ||
15 | bool " Support older (pre 2.1) Linux kernels" | ||
16 | default n | ||
17 | depends on CONFIG_INSMOD | ||
18 | help | ||
19 | Please submit a patch to add help text for this item. | ||
20 | |||
21 | if CONFIG_INSMOD && !CONFIG_FEATURE_OLD_MODULE_INTERFACE | ||
22 | config CONFIG_FEATURE_NEW_MODULE_INTERFACE | ||
23 | default y | ||
24 | comment " Support new (post 2.1) Linux kernels (Forced enabled)" | ||
25 | endif | ||
26 | |||
27 | if CONFIG_FEATURE_OLD_MODULE_INTERFACE | ||
28 | config CONFIG_FEATURE_NEW_MODULE_INTERFACE | ||
29 | bool " Support new (post 2.1) Linux kernels" | ||
30 | default y | ||
31 | depends on CONFIG_INSMOD | ||
32 | help | ||
33 | Please submit a patch to add help text for this item. | ||
34 | endif | ||
35 | |||
36 | config CONFIG_FEATURE_INSMOD_VERSION_CHECKING | ||
37 | bool " Module version checking" | ||
38 | default n | ||
39 | depends on CONFIG_INSMOD | ||
40 | help | ||
41 | Please submit a patch to add help text for this item. | ||
42 | |||
43 | config CONFIG_FEATURE_INSMOD_LOADINKMEM | ||
44 | bool " In kernel memory optimization (uClinux only)" | ||
45 | default n | ||
46 | depends on CONFIG_INSMOD | ||
47 | help | ||
48 | Please submit a patch to add help text for this item. | ||
49 | |||
50 | config CONFIG_LSMOD | ||
51 | bool "lsmod" | ||
52 | default n | ||
53 | help | ||
54 | Please submit a patch to add help text for this item. | ||
55 | |||
56 | config CONFIG_FEATURE_QUERY_MODULE_INTERFACE | ||
57 | bool " Support lsmod query_module interface (add 638 bytes)" | ||
58 | default y | ||
59 | depends on CONFIG_LSMOD && CONFIG_FEATURE_NEW_MODULE_INTERFACE | ||
60 | help | ||
61 | Please submit a patch to add help text for this item. | ||
62 | |||
63 | config CONFIG_MODPROBE | ||
64 | bool "modprobe" | ||
65 | default n | ||
66 | help | ||
67 | Please submit a patch to add help text for this item. | ||
68 | |||
69 | config CONFIG_RMMOD | ||
70 | bool "rmmod" | ||
71 | default n | ||
72 | help | ||
73 | Please submit a patch to add help text for this item. | ||
74 | |||
75 | config CONFIG_FEATURE_CHECK_TAINTED_MODULE | ||
76 | bool "Support tainted module checking with new kernels" | ||
77 | default y | ||
78 | depends on CONFIG_INSMOD || CONFIG_LSMOD | ||
79 | help | ||
80 | Please submit a patch to add help text for this item. | ||
81 | |||
82 | |||
83 | endmenu | ||
84 | |||
diff --git a/modutils/config.in b/modutils/config.in deleted file mode 100644 index 10b0a9c33..000000000 --- a/modutils/config.in +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | mainmenu_option next_comment | ||
7 | comment 'Module Utilities' | ||
8 | |||
9 | |||
10 | bool 'insmod' CONFIG_INSMOD | ||
11 | bool 'lsmod' CONFIG_LSMOD | ||
12 | bool 'modprobe' CONFIG_MODPROBE | ||
13 | bool 'rmmod' CONFIG_RMMOD | ||
14 | |||
15 | if [ "$CONFIG_INSMOD" = "y" ]; then | ||
16 | comment 'Module support options' | ||
17 | bool 'Support for older (pre 2.1) Linux kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE | ||
18 | if [ "$CONFIG_FEATURE_OLD_MODULE_INTERFACE" = "n" ] ; then | ||
19 | define_bool CONFIG_FEATURE_NEW_MODULE_INTERFACE y | ||
20 | fi | ||
21 | bool 'Support for new (post 2.1) kernels' CONFIG_FEATURE_NEW_MODULE_INTERFACE | ||
22 | bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING | ||
23 | bool 'Support image in kernel memory optimization (uClinux only)' CONFIG_FEATURE_INSMOD_LOADINKMEM | ||
24 | fi | ||
25 | |||
26 | if [ "$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 | ||
30 | fi | ||
31 | |||
32 | if [ "$CONFIG_INSMOD" = "y" -o "$CONFIG_LSMOD" = "y" ]; then | ||
33 | bool 'Support tainted module checking with new kernels' CONFIG_FEATURE_CHECK_TAINTED_MODULE | ||
34 | fi | ||
35 | |||
36 | endmenu | ||
37 | |||