summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2002-05-24 06:59:22 +0000
committerEric Andersen2002-05-24 06:59:22 +0000
commit8302c43265a9f83baa96b15a6082954526988c8b (patch)
tree3f2609873023ad27288cc7a89a821da5b8cfd0b0
parentcffd5022c5fe5511a456461e9cc5c8da8b90dd61 (diff)
downloadbusybox-8302c43265a9f83baa96b15a6082954526988c8b.zip
busybox-8302c43265a9f83baa96b15a6082954526988c8b.tar.gz
Ensure that insmod supports at least one MODULE_INTERFACE
-Erik
-rw-r--r--modutils/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/modutils/config.in b/modutils/config.in
index f5256bb..7a1d56c 100644
--- a/modutils/config.in
+++ b/modutils/config.in
@@ -14,6 +14,9 @@ bool 'rmmod' CONFIG_RMMOD
if [ "$CONFIG_INSMOD" = "y" ]; then
comment 'Module support options'
+ 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 for older (pre 2.1) Linux kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE
bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING