!758 refactor:Kconfig选项解耦

Merge pull request !758 from Zhaotianyu/20220723Kconfig
This commit is contained in:
openharmony_ci 2022-07-27 09:11:40 +00:00 committed by Gitee
commit 63bf098b0f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 12 additions and 9 deletions

19
Kconfig
View File

@ -357,15 +357,10 @@ config KERNEL_PM_DEBUG
help
Configuration item for low power frame debug tailoring.
config DEBUG_HOOK
bool
default n
config PLATFORM_EXC
bool "Enable Hook Feature"
bool "Enable Platform Exc Hook"
default n
depends on KERNEL_EXTKERNEL
select DEBUG_HOOK
config KERNEL_LMK
bool "Enable Low Memory Killer"
@ -532,14 +527,20 @@ config DEBUG_SEMAPHORE
help
Answer Y to enable debug semaphore.
source "components/shell/Kconfig"
config NET_LWIP_SACK_TFTP
bool "Enable Tftp"
default y
depends on SHELL && NET_LWIP_SACK && DEBUG_VERSION
help
Answer Y to enable LiteOS support tftp cmd and tftp tool.
osource "net/telnet/Kconfig"
config DEBUG_HOOK
bool "Enable Hook Framework"
default n
depends on DEBUG_VERSION
help
Enable the kernel hook framework to support customized trace information capture.
config SCHED_DEBUG
bool "Enable sched debug Feature"
default n
@ -606,6 +607,8 @@ config TASK_MEM_USED
default n
depends on DEBUG_VERSION && MEM_DEBUG
source "components/shell/Kconfig"
endmenu
######################## config options os drivers ########################

View File

@ -1,7 +1,7 @@
config KERNEL_TRACE
bool "Enable Trace Feature"
default n
depends on DEBUG_HOOK
select DEBUG_HOOK
config TRACE_MSG_EXTEND
bool "Enable Record more extended content"