The CONFIG_SPL_FRAMEPOINTER symbol is only relevant in SPL.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index fa3b016c527..4e228a659f2 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -133,6 +133,7 @@ config FRAMEPOINTER
 
 config SPL_FRAMEPOINTER
        bool "Build SPL with frame pointer for stack unwinding"
+       depends on SPL
        help
          Choose this option to use the frame pointer so the stack can be
          unwound if needed. This is useful for tracing where faults came
-- 
2.45.2

Reply via email to