Use menuconfig objects II - module menu

Change menuconfig objects from "menu, config" into "menuconfig" so that the
user can disable the whole feature without entering its menu first.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jan Engelhardt 2007-07-15 23:39:29 -07:00 committed by Linus Torvalds
parent 376df37a5b
commit 66da573320

View file

@ -602,9 +602,7 @@ config BASE_SMALL
default 0 if BASE_FULL default 0 if BASE_FULL
default 1 if !BASE_FULL default 1 if !BASE_FULL
menu "Loadable module support" menuconfig MODULES
config MODULES
bool "Enable loadable module support" bool "Enable loadable module support"
help help
Kernel modules are small pieces of compiled code which can Kernel modules are small pieces of compiled code which can
@ -684,6 +682,5 @@ config STOP_MACHINE
depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
help help
Need stop_machine() primitive. Need stop_machine() primitive.
endmenu
source "block/Kconfig" source "block/Kconfig"