瑞芯微Rockchip开发者社区
直播中

yqdedli

8年用户 885经验值
擅长:控制/MCU
私信 关注
[问答]

为什么RK3568切换单git仓管理进行编译会报错呢

为什么RK3568切换单git仓管理进行编译会报错呢?怎样去解决呢?

回帖(1)

李瑜刈

2022-3-2 17:45:37
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"],
}
举报

更多回帖

发帖
×
20
完善资料,
赚取积分