mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
适配Linux arm host openharmony编译
Signed-off-by: wylyw78 <wenyu17@hauwei.com>
This commit is contained in:
@@ -133,7 +133,7 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
|
||||
group("syscap_tool_bin_linux") {
|
||||
deps = [ ":syscap_tool_bin(//build/toolchain/linux:clang_x64)" ]
|
||||
deps = [ ":syscap_tool_bin(//build/toolchain/linux:clang_${host_cpu})" ]
|
||||
}
|
||||
|
||||
build_ext_component("generate_pcid") {
|
||||
@@ -142,9 +142,9 @@ build_ext_component("generate_pcid") {
|
||||
exec_path = rebase_path(root_out_dir)
|
||||
preload_path = rebase_path(preloader_output_dir)
|
||||
if (defined(ohos_lite)) {
|
||||
cmd = "${exec_path}/clang_x64/syscap_tool"
|
||||
cmd = "${exec_path}/clang_${host_cpu}/syscap_tool"
|
||||
} else {
|
||||
cmd = "${exec_path}/clang_x64/developtools/syscap_codec/syscap_tool"
|
||||
cmd = "${exec_path}/clang_${host_cpu}/developtools/syscap_codec/syscap_tool"
|
||||
}
|
||||
command = "chmod 777 $cmd"
|
||||
command +=
|
||||
|
||||
Reference in New Issue
Block a user