Skip to content

Commit fda1bc5

Browse files
rddunlapRich Felker
authored andcommitted
sh: fix kconfig unmet dependency warning for FRAME_POINTER
FRAME_POINTER depends on DEBUG_KERNEL so DWARF_UNWINDER should depend on DEBUG_KERNEL before selecting FRAME_POINTER. WARNING: unmet direct dependencies detected for FRAME_POINTER Depends on [n]: DEBUG_KERNEL [=n] && (M68K || UML || SUPERH [=y]) || ARCH_WANT_FRAME_POINTERS [=n] Selected by [y]: - DWARF_UNWINDER [=y] Fixes: bd35386 ("sh: dwarf unwinder support.") Signed-off-by: Randy Dunlap <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Tested-by: John Paul Adrian Glaubitz <[email protected]> Signed-off-by: Rich Felker <[email protected]>
1 parent 61531cb commit fda1bc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sh/Kconfig.debug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ config DUMP_CODE
5454

5555
config DWARF_UNWINDER
5656
bool "Enable the DWARF unwinder for stacktraces"
57+
depends on DEBUG_KERNEL
5758
select FRAME_POINTER
5859
default n
5960
help

0 commit comments

Comments
 (0)