提交 4d1611b1 编写于 作者: O openharmony_ci 提交者: Gitee

!120 【轻量级 PR】:fix liteos_a specified config

Merge pull request !120 from yangming_ha/N/A
......@@ -92,9 +92,14 @@ if (ohos_build_type == "debug") {
default_target_configs += [ "//build/lite/config:release" ]
}
if (ohos_kernel_type == "liteos_a") {
default_target_configs += [
"//build/lite/config/kernel/liteos/cortex_a:default"
]
}
if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
default_target_configs += [
"//build/lite/config/kernel/liteos/cortex_a:default",
"//build/lite/config:security",
"//build/lite/config:exceptions",
]
......
......@@ -108,7 +108,7 @@ class Packer():
makedirs(target_path)
self.chmod_dirs.append((target_path, dir_mode))
tfile = os.path.join(target_path, os.path.basename(source_path))
try:
try:
shutil.copy(sfile, tfile, follow_symlinks=False)
self.chmod_dirs.append((tfile, file_mode))
except FileExistsError:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册