Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
390159f5
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
接近 2 年 前同步成功
通知
474
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
390159f5
编写于
7月 12, 2021
作者:
O
openharmony_ci
提交者:
Gitee
7月 12, 2021
浏览文件
操作
浏览文件
下载
差异文件
!428 kconfig配置文件跟随产品
Merge pull request !428 from Caoruihong/defconfig
上级
d8be8aad
6d948a42
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
28 deletion
+12
-28
BUILD.gn
BUILD.gn
+1
-5
build.sh
build.sh
+11
-22
kernel_test.sources
kernel_test.sources
+0
-1
未找到文件。
BUILD.gn
浏览文件 @
390159f5
...
...
@@ -73,14 +73,10 @@ lite_subsystem("kernel") {
build_ext_component("make") {
exec_path = rebase_path(".", root_build_dir)
tee_enable = "false"
if (board_name == "hi3516dv300" && enable_tee_ree) {
tee_enable = "tee"
}
outdir = rebase_path(get_path_info(".", "out_dir"))
sysroot_path = rebase_path(ohos_current_sysroot)
arch_cflags = string_join(" ", target_arch_cflags)
command = "./build.sh ${board_name} ${ohos_build_compiler} ${root_build_dir} ${ohos_build_type}
${tee_enable}
"
command = "./build.sh ${board_name} ${ohos_build_compiler} ${root_build_dir} ${ohos_build_type}
\"${tee_enable}\"
"
command += " \"${device_company}\" \"${product_path}\" $outdir \"${ohos_version}\" ${sysroot_path} \"${arch_cflags}\""
command += " \"${device_path}\""
}
build.sh
浏览文件 @
390159f5
...
...
@@ -48,44 +48,33 @@ echo "sh param:" "$@"
function
main
()
{
destination
=
".config"
config_file
=
""
tee
=
""
if
[
"
${
tee_enable
}
"
=
"t
e
e"
]
;
then
if
[
"
${
tee_enable
}
"
=
"t
ru
e"
]
;
then
tee
=
"_tee"
fi
config_file
=
"
${
product_path
}
/config/
${
ohos_build_type
}${
tee
}
.config"
if
[
-f
"
${
config_file
}
"
]
;
then
cp
"
${
config_file
}
"
"
${
destination
}
"
return
fi
product_name
=
$(
basename
"
${
product_path
}
"
)
source
=
"tools/build/config/
${
product_name
}
_release.config"
config_file
=
"
${
product_name
}
_release.config"
if
[
"
${
ohos_build_compiler
}
"
=
"clang"
]
;
then
if
[
"
${
ohos_build_type
}
"
=
"debug"
]
;
then
config_file
=
"
${
product_name
}
_
${
ohos_build_compiler
}${
tee
}
.config"
source
=
"tools/build/config/debug/
${
config_file
}
"
config_file
=
"debug/
${
product_name
}
_
${
ohos_build_compiler
}${
tee
}
.config"
else
config_file
=
"
${
product_name
}
_
${
ohos_build_compiler
}
_release
${
tee
}
.config"
source
=
"tools/build/config/
${
config_file
}
"
fi
elif
[
"
${
ohos_build_compiler
}
"
=
"gcc"
]
;
then
if
[
"
${
ohos_build_type
}
"
=
"debug"
]
;
then
config_file
=
"
${
product_name
}
_debug_shell
${
tee
}
.config"
source
=
"tools/build/config/
${
config_file
}
"
else
config_file
=
"
${
product_name
}
_release
${
tee
}
.config"
source
=
"tools/build/config/
${
config_file
}
"
fi
fi
if
[
-d
"./out"
]
;
then
rm
-rf
./out
fi
if
[
-f
"
${
destination
}
"
]
;
then
rm
-rf
${
destination
}
fi
if
[
!
-f
"
${
source
}
"
]
;
then
source
=
"
${
product_path
}
/config/sys/
${
config_file
}
"
fi
cp
"
${
source
}
"
${
destination
}
test_info_outdir
=
"../..
${
root_build_dir
}
/test_info/gen/kernel/test"
mkdir
-p
"
${
test_info_outdir
}
"
cp
kernel_test.sources
"
${
test_info_outdir
}
"
cp
"tools/build/config/
${
config_file
}
"
"
${
destination
}
"
}
if
[
"x"
!=
"x
${
sysroot_path
}
"
]
;
then
...
...
kernel_test.sources
已删除
100644 → 0
浏览文件 @
d8be8aad
../../kernel/liteos_a/test/apps/src/osTest.c
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录