Skip to contentSkip to conversation

uml: add kconfig debug deps

PATCH In review [email protected] 1 participant 1 message Mar 22, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 10/12 uml: add kconfig debug deps

Add some needed dependencies for some debug options and hide the MAGIC_SYSRQ option for UML, since it displays this option in another menu.

---

 linux-2.6.11-paolo/arch/um/Kconfig.debug |    6 +++---
 linux-2.6.11-paolo/lib/Kconfig.debug     |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/um/Kconfig.debug renamed from arch/um/Kconfig.debug~uml-kbuild-debug-deps +3 -3
diff -puN arch/um/Kconfig.debug~uml-kbuild-debug-deps arch/um/Kconfig.debug
@@ -8,7 +8,7 @@ config FRAME_POINTER
 
 config PT_PROXY
 	bool "Enable ptrace proxy"
-	depends on XTERM_CHAN && DEBUG_INFO
+	depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
 	help
 	This option enables a debugging interface which allows gdb to debug
 	the kernel without needing to actually attach to kernel threads.
@@ -16,7 +16,7 @@ config PT_PROXY
 
 config GPROF
 	bool "Enable gprof support"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && MODE_SKAS
 	help
         This allows profiling of a User-Mode Linux kernel with the gprof
         utility.
@@ -29,7 +29,7 @@ config GPROF
 
 config GCOV
 	bool "Enable gcov support"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && MODE_SKAS
 	help
         This option allows developers to retrieve coverage data from a UML
         session.
lib/Kconfig.debug renamed from lib/Kconfig.debug~uml-kbuild-debug-deps +1 -1
diff -puN lib/Kconfig.debug~uml-kbuild-debug-deps lib/Kconfig.debug
@@ -17,7 +17,7 @@ config DEBUG_KERNEL
 
 config MAGIC_SYSRQ
 	bool "Magic SysRq key"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && !UML
 	help
 	  If you say Y here, you will have some control over the system even
 	  if the system crashes for example during kernel debugging (e.g., you

_

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel