Ensure that insmod supports at least one MODULE_INTERFACE

-Erik
This commit is contained in:
Eric Andersen 2002-05-24 06:59:22 +00:00
parent cffd5022c5
commit 8302c43265

View File

@ -14,6 +14,9 @@ bool 'rmmod' CONFIG_RMMOD
if [ "$CONFIG_INSMOD" = "y" ]; then if [ "$CONFIG_INSMOD" = "y" ]; then
comment 'Module support options' 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 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 for older (pre 2.1) Linux kernels' CONFIG_FEATURE_OLD_MODULE_INTERFACE
bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING bool 'Support module version checking' CONFIG_FEATURE_INSMOD_VERSION_CHECKING