提交 88fe4eb3 编写于 作者: Y yuanbo

fix: add product_path parameter for driver build

Driver use product_path in hb env as hcs config root path
by default. If it's not exit, try to use device config path.

close: #I3PQ10
Signed-off-by: Nyuanbo <yuanbo@huawei.com>
上级 7f484dfa
......@@ -79,5 +79,5 @@ build_ext_component("make") {
}
prebuilts = "sh build.sh ${board_name} ${ohos_build_compiler} ${root_build_dir} ${ohos_build_type} ${tee_enable} \"${device_company}\" \"${product_path}\""
outdir = rebase_path(get_path_info(".", "out_dir"))
command = "make clean OUTDIR=$outdir && make rootfs VERSION=\"${ohos_version}\" -j 16 OUTDIR=$outdir"
command = "make clean OUTDIR=$outdir PRODUCT_PATH=\"${product_path}\" && make rootfs VERSION=\"${ohos_version}\" PRODUCT_PATH=\"${product_path}\" -j 16 OUTDIR=$outdir"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册