diff options
author | Denis Vlasenko | 2009-01-31 14:22:24 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-01-31 14:22:24 +0000 |
commit | e35af567900ec2a7abb17e09cc5b5641f7faafe7 (patch) | |
tree | a1a065a9d053e10303720c90eb68b148701ebd8a /modutils/Config.in | |
parent | fc2a4fc2ba8022ce2ea6dc0f66ba4ef0be1fa805 (diff) | |
download | busybox-e35af567900ec2a7abb17e09cc5b5641f7faafe7.zip busybox-e35af567900ec2a7abb17e09cc5b5641f7faafe7.tar.gz |
modutils-24: use xasprintf and xzalloc where appropriate,
remove unreachanble code
build system: correct some dependencies in config system
init: convert one #if into if() - for Rob.
function old new delta
obj_string_patch 136 129 -7
bb_init_module_24 4759 4615 -144
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-151) Total: -151 bytes
Diffstat (limited to 'modutils/Config.in')
-rw-r--r-- | modutils/Config.in | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/modutils/Config.in b/modutils/Config.in index e7b839d..ce3bce1 100644 --- a/modutils/Config.in +++ b/modutils/Config.in @@ -5,20 +5,6 @@ menu "Linux Module Utilities" -config DEFAULT_MODULES_DIR - string "Default directory containing modules" - default "/lib/modules" - help - Directory that contains kernel modules. - Defaults to "/lib/modules" - -config DEFAULT_DEPMOD_FILE - string "Default name of modules.dep" - default "modules.dep" - help - Filename that contains kernel modules dependencies. - Defaults to "modules.dep" - config MODPROBE_SMALL bool "Simplified modutils" default n @@ -193,7 +179,7 @@ config FEATURE_INSMOD_LOAD_MAP_FULL config FEATURE_CHECK_TAINTED_MODULE bool "Support tainted module checking with new kernels" default y - depends on !MODPROBE_SMALL + depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL help Support checking for tainted modules. These are usually binary only modules that will make the linux-kernel list ignore your @@ -227,4 +213,20 @@ config FEATURE_MODUTILS_SYMBOLS Say Y if unsure. +config DEFAULT_MODULES_DIR + string "Default directory containing modules" + default "/lib/modules" + depends on DEPMOD || MODPROBE || MODPROBE_SMALL + help + Directory that contains kernel modules. + Defaults to "/lib/modules" + +config DEFAULT_DEPMOD_FILE + string "Default name of modules.dep" + default "modules.dep" + depends on DEPMOD || MODPROBE || MODPROBE_SMALL + help + Filename that contains kernel modules dependencies. + Defaults to "modules.dep" + endmenu |