refactor: Kconfig选项解耦
close: #I5I7LX Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: Ieaf3bc6bf0c345a7d7945abb9133bd40fbe9d5b8
This commit is contained in:
parent
df30bc4e0a
commit
732a346399
19
Kconfig
19
Kconfig
|
@ -357,15 +357,10 @@ config KERNEL_PM_DEBUG
|
||||||
help
|
help
|
||||||
Configuration item for low power frame debug tailoring.
|
Configuration item for low power frame debug tailoring.
|
||||||
|
|
||||||
config DEBUG_HOOK
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
|
|
||||||
config PLATFORM_EXC
|
config PLATFORM_EXC
|
||||||
bool "Enable Hook Feature"
|
bool "Enable Platform Exc Hook"
|
||||||
default n
|
default n
|
||||||
depends on KERNEL_EXTKERNEL
|
depends on KERNEL_EXTKERNEL
|
||||||
select DEBUG_HOOK
|
|
||||||
|
|
||||||
config KERNEL_LMK
|
config KERNEL_LMK
|
||||||
bool "Enable Low Memory Killer"
|
bool "Enable Low Memory Killer"
|
||||||
|
@ -532,14 +527,20 @@ config DEBUG_SEMAPHORE
|
||||||
help
|
help
|
||||||
Answer Y to enable debug semaphore.
|
Answer Y to enable debug semaphore.
|
||||||
|
|
||||||
source "components/shell/Kconfig"
|
|
||||||
config NET_LWIP_SACK_TFTP
|
config NET_LWIP_SACK_TFTP
|
||||||
bool "Enable Tftp"
|
bool "Enable Tftp"
|
||||||
default y
|
default y
|
||||||
depends on SHELL && NET_LWIP_SACK && DEBUG_VERSION
|
depends on SHELL && NET_LWIP_SACK && DEBUG_VERSION
|
||||||
help
|
help
|
||||||
Answer Y to enable LiteOS support tftp cmd and tftp tool.
|
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
|
config SCHED_DEBUG
|
||||||
bool "Enable sched debug Feature"
|
bool "Enable sched debug Feature"
|
||||||
default n
|
default n
|
||||||
|
@ -606,6 +607,8 @@ config TASK_MEM_USED
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_VERSION && MEM_DEBUG
|
depends on DEBUG_VERSION && MEM_DEBUG
|
||||||
|
|
||||||
|
source "components/shell/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
######################## config options os drivers ########################
|
######################## config options os drivers ########################
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
config KERNEL_TRACE
|
config KERNEL_TRACE
|
||||||
bool "Enable Trace Feature"
|
bool "Enable Trace Feature"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_HOOK
|
select DEBUG_HOOK
|
||||||
|
|
||||||
config TRACE_MSG_EXTEND
|
config TRACE_MSG_EXTEND
|
||||||
bool "Enable Record more extended content"
|
bool "Enable Record more extended content"
|
||||||
|
|
Loading…
Reference in New Issue