chore: liteos-m kernel 部件标准化

1、添加liteos-m kernel的部件描述文件bundle.json
2、依赖三方开源软件的编译脚本修改,取消直接include头文件,改为引用三方开源软件提供的公共配置。

Signed-off-by: Hongjin Li <lihongjin1@huawei.com>
Change-Id: I345c105a75c5cd87144c821fae123abf1f53e9f7
This commit is contained in:
Hongjin Li
2022-01-10 16:02:35 +08:00
parent 5a535f9f1f
commit 9314b2fe81
6 changed files with 74 additions and 30 deletions

63
bundle.json Normal file
View File

@@ -0,0 +1,63 @@
{
"name": "@ohos/liteos_m",
"version": "3.1.0",
"description": "liteos-m kernel",
"publishAs": "code-segment",
"homePage": "https://gitee.com/openharmony",
"repository": "https://gitee.com/openharmony/kernel_liteos_m",
"license": "BSD 3-clause",
"domain": "os",
"language": "",
"private": false,
"scripts": {},
"tags": [
"kernel"
],
"keywords": [
"kernel",
"liteos-m"
],
"envs": [],
"dirs": [],
"author": {},
"contributors": [],
"segment": {
"destPath": "kernel/liteos_m"
},
"component": {
"name": "liteos_m",
"subsystem": "kernel",
"syscap": [
"SystemCapability.Kernel.liteos-m"
],
"features": [],
"adapted_system_type": [
"mini"
],
"rom": "300KB",
"ram": "100KB",
"deps": {
"components": [
"utils_lite"
],
"third_party": [
"bounds_checking_function",
"cmsis",
"fatfs",
"littlefs",
"lwip",
"musl"
]
},
"build": {
"sub_component": [
"//kernel/liteos_m:kernel",
"//kernel/liteos_m:build_kernel_image"
],
"inner_kits": [],
"test": [
"//kernel/liteos_m/testsuites:testsuites"
]
}
}
}