[PATCH 2/8] kconfig/hacking: Create submenu for arch special debugging options

From: Changbin Du
Date: Sat Sep 07 2019 - 21:28:56 EST


The arch special options are a little long, so create a submenu for them.

Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx>
---
lib/Kconfig.debug | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 868fa64a0901..96047140be93 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2146,6 +2146,10 @@ config IO_STRICT_DEVMEM

If in doubt, say Y.

+menu "$(SRCARCH) Debugging"
+
source "arch/$(SRCARCH)/Kconfig.debug"

+endmenu
+
endmenu # Kernel hacking
--
2.20.1