aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2011-06-05 21:23:58 -0400
committerIngo Molnar <mingo@elte.hu>2011-06-06 18:05:15 -0400
commitf505c553dbe24b18a8590eb0eb5890a839acd0c3 (patch)
tree91e2b13e8c904856cbfbae915579cb755c13ad6a /init
parent59c5f46fbe01a00eedf54a23789634438bb80603 (diff)
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 <josh@joshtriplett.org> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/20110606012358.GA1909@leaf Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 2 insertions, 0 deletions
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
909 909
910menuconfig EXPERT 910menuconfig EXPERT
911 bool "Configure standard kernel features (expert users)" 911 bool "Configure standard kernel features (expert users)"
912 # Unhide debug options, to make the on-by-default options visible
913 select DEBUG_KERNEL
912 help 914 help
913 This option allows certain base kernel options and settings 915 This option allows certain base kernel options and settings
914 to be disabled or tweaked. This is for specialized 916 to be disabled or tweaked. This is for specialized