aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index bd62be80228e..0d9e81779e37 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -196,6 +196,7 @@ config DEBUG_INFO_REDUCED
196config DEBUG_INFO_SPLIT 196config DEBUG_INFO_SPLIT
197 bool "Produce split debuginfo in .dwo files" 197 bool "Produce split debuginfo in .dwo files"
198 depends on DEBUG_INFO 198 depends on DEBUG_INFO
199 depends on $(cc-option,-gsplit-dwarf)
199 help 200 help
200 Generate debug info into separate .dwo files. This significantly 201 Generate debug info into separate .dwo files. This significantly
201 reduces the build directory size for builds with DEBUG_INFO, 202 reduces the build directory size for builds with DEBUG_INFO,
@@ -211,6 +212,7 @@ config DEBUG_INFO_SPLIT
211config DEBUG_INFO_DWARF4 212config DEBUG_INFO_DWARF4
212 bool "Generate dwarf4 debuginfo" 213 bool "Generate dwarf4 debuginfo"
213 depends on DEBUG_INFO 214 depends on DEBUG_INFO
215 depends on $(cc-option,-gdwarf-4)
214 help 216 help
215 Generate dwarf4 debug info. This requires recent versions 217 Generate dwarf4 debug info. This requires recent versions
216 of gcc and gdb. It makes the debug information larger. 218 of gcc and gdb. It makes the debug information larger.