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
+2 -5
View File
@@ -28,6 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//kernel/liteos_m/liteos.gni")
import("//third_party/cmsis/cmsis.gni")
module_switch = defined(LOSCFG_KAL_CMSIS)
module_name = get_path_info(rebase_path("."), "name")
@@ -37,9 +38,5 @@ kernel_module(module_name) {
}
config("public") {
include_dirs = [
".",
"$LITEOSTHIRDPARTY/cmsis/CMSIS/RTOS2/Include",
"$LITEOSTHIRDPARTY/cmsis/CMSIS/Core/Include",
]
include_dirs = CMSIS_INCLUDE_DIRS + [ "." ]
}