Ensure that insmod supports at least one MODULE_INTERFACE
authorEric Andersen <andersen@codepoet.org>
Fri, 24 May 2002 06:59:22 +0000 (06:59 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 24 May 2002 06:59:22 +0000 (06:59 -0000)
 -Erik

modutils/config.in

index f5256bb1f5a686ad9b610144d1d1487203d40920..7a1d56c24803c3d101f1bfe0e57d3fc8c2c5ce1c 100644 (file)
@@ -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