提交 6fe20511 编写于 作者: Y yangming_ha 提交者: Gitee

fix liteos_a specified config

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