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: yuanbo <yuanbo@huawei.com>
This commit is contained in:
parent
7f484dfa09
commit
88fe4eb3e1
2
BUILD.gn
2
BUILD.gn
|
@ -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}\""
|
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"))
|
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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue