[RESEND PATCH v3 2/9] hacking: Create submenu for arch special debugging options

From: Changbin Du
Date: Thu Oct 03 2019 - 21:20:45 EST


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

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

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 157db30e626d..b29a486db38b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2148,6 +2148,10 @@ config DEBUG_AID_FOR_SYZBOT
help
This option is intended for testing by syzbot.

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

+endmenu
+
endmenu # Kernel hacking
--
2.20.1