RK3568 由repo仓管理切换为单git仓管理,进行编译报错:
error: hardware/rockchip/libmpimmz/Android.bp:7:1: module "gen_mmz_version": module source path "hardware/rockchip/libmpimmz/.git" does not exist
error: hardware/rockchip/librga/Android.bp:18:1: module "gen_rga_api_version": module source path "hardware/rockchip/librga/.git" does not exist
06:05:19 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:02 (mm:ss)) ####
修改打开hardware/rockchip/librga/Android.bp和hardware/rockchip/libmpimmz/Android.bp
删除文件内.git/即可
genrule {
name: "gen_rga_api_version",
srcs: [
"version.h.template",
- ".git/"
],
out: ["version.h"],
cmd: "rm -f $(location version.h) && " + "bash $(location genversion.sh) Android.bp < $(in) > $(out)",
tool_files: ["genversion.sh"],
}
RK3568 由repo仓管理切换为单git仓管理,进行编译报错:
error: hardware/rockchip/libmpimmz/Android.bp:7:1: module "gen_mmz_version": module source path "hardware/rockchip/libmpimmz/.git" does not exist
error: hardware/rockchip/librga/Android.bp:18:1: module "gen_rga_api_version": module source path "hardware/rockchip/librga/.git" does not exist
06:05:19 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:02 (mm:ss)) ####
修改打开hardware/rockchip/librga/Android.bp和hardware/rockchip/libmpimmz/Android.bp
删除文件内.git/即可
genrule {
name: "gen_rga_api_version",
srcs: [
"version.h.template",
- ".git/"
],
out: ["version.h"],
cmd: "rm -f $(location version.h) && " + "bash $(location genversion.sh) Android.bp < $(in) > $(out)",
tool_files: ["genversion.sh"],
}
举报