From: Josh Triplett Date: Mon, 6 Jun 2011 01:23:58 +0000 (-0700) Subject: debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options X-Git-Tag: MMI-PSA29.97-13-9~18893^3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f505c553dbe24b18a8590eb0eb5890a839acd0c3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options Several debugging options currently default to y, such as CONFIG_DEBUG_BUGVERBOSE and CONFIG_DEBUG_RODATA. Embedded users might want to turn those options off to save space; however, turning them off requires turning on CONFIG_DEBUG_KERNEL to unhide them. Since CONFIG_DEBUG_KERNEL exists specifically to unhide debugging options, and CONFIG_EXPERT exists specifically to unhide options potentially needed by experts and/or embedded users, make CONFIG_EXPERT automatically imply CONFIG_DEBUG_KERNEL. Signed-off-by: Josh Triplett Acked-by: Frederic Weisbecker Cc: Sam Ravnborg Cc: Linus Torvalds Link: http://lkml.kernel.org/r/20110606012358.GA1909@leaf Signed-off-by: Ingo Molnar --- diff --git a/init/Kconfig b/init/Kconfig index ebafac4231ee..14370d3fdf4d 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -909,6 +909,8 @@ config ANON_INODES menuconfig EXPERT bool "Configure standard kernel features (expert users)" + # Unhide debug options, to make the on-by-default options visible + select DEBUG_KERNEL help This option allows certain base kernel options and settings to be disabled or tweaked. This is for specialized