Skip to content

Commit

Permalink
debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/20110606012358.GA1909@leaf
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
joshtriplett authored and Ingo Molnar committed Jun 6, 2011
1 parent 59c5f46 commit f505c55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f505c55

Please sign in to comment.