1. 原kernel/common目录下属于内核拓展组件,统一移入kernel/extend管理 2. Kconfig分层,各模块自己的配置放到自己目录下管理 3. 原platform下不属于平台的公共代码抽到kernel/common下,只留板级链接脚本和一些编译脚本指向device目录下触发平台相关的编译 4. 对外公共头文件统一抽到对外include路径 5. 废弃宏,头文件清理 close: #I48KI4 Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I0cf5ea81c92a8fa7b113da9cbdc8b7bc935f5aae
36 lines
904 B
Plaintext
36 lines
904 B
Plaintext
config BLACKBOX
|
|
bool "Enable BlackBox"
|
|
default n
|
|
depends on KERNEL_EXTKERNEL
|
|
help
|
|
Answer Y to enable LiteOS support blackbox
|
|
|
|
config BLACKBOX_LOG_PART_MOUNT_POINT
|
|
string "unknown"
|
|
default "/storage"
|
|
depends on BLACKBOX
|
|
help
|
|
Define the default log part representative of blackbox
|
|
|
|
config BLACKBOX_LOG_ROOT_PATH
|
|
string "unknown"
|
|
default "/storage/data/log"
|
|
depends on BLACKBOX
|
|
help
|
|
Define the default log path of blackbox
|
|
|
|
config BLACKBOX_RESERVE_MEM_ADDR
|
|
int "The address of the reserve mem for blackbox in hex"
|
|
default 0
|
|
depends on BLACKBOX
|
|
help
|
|
Define the address of the reserve mem for blackbox in hex.
|
|
|
|
config BLACKBOX_LOG_SIZE
|
|
int "The size of log saved by blackbox in hex"
|
|
range 1024 1048576
|
|
default 65536
|
|
depends on BLACKBOX
|
|
help
|
|
Define the size of log saved by blackbox in decimal.
|