2019-09-08 12:59:20

by Changbin Du

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

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

Signed-off-by: Changbin Du <[email protected]>
---
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