debug: EXCEPTION_STACK_TRACE should depend on arch Kconfigs
Fix the dependencies of `CONFIG_EXCEPTION_STACK_TRACE`: - Architecture-specific Kconfig, i.e. `X86_EXCEPTION_STACK_TRACE`, will be enabled automatically when all the dependencies are met. - `EXCEPTION_STACK_TRACE` depends on architecture-specific Kconfig to be enabled. - The stack trace implementations should be compiled only if user enables `CONFIG_EXCEPTION_STACK_TRACE`. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
190777dccf
commit
02770ad963
8 changed files with 14 additions and 14 deletions
|
@ -167,7 +167,6 @@ config X86_EXCEPTION_STACK_TRACE
|
|||
bool
|
||||
default y
|
||||
select DEBUG_INFO
|
||||
depends on EXCEPTION_STACK_TRACE
|
||||
depends on !OMIT_FRAME_POINTER
|
||||
help
|
||||
Internal config to enable runtime stack traces on fatal exceptions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue