!600 参数化liteos_config_file配置项

Merge pull request !600 from Caoruihong/opt_20210902
This commit is contained in:
openharmony_ci 2021-09-02 10:54:09 +00:00 committed by Gitee
commit 19b39b1bff
1 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,11 @@ if (tee_enable) {
tee = "_tee"
}
liteos_config_file = "$product_path/kernel_configs/${ohos_build_type}${tee}.config"
declare_args() {
liteos_config_file = "${ohos_build_type}${tee}.config"
}
liteos_config_file = rebase_path(liteos_config_file, "", "$product_path/kernel_configs")
print("liteos_config_file:", liteos_config_file)
exec_script("//build/lite/run_shell_cmd.py",