当前位置:   article > 正文

RK3568 Android 11 切换单git仓编译报错问题_module "mlcshape" variant "android_common": module

module "mlcshape" variant "android_common": module source path

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"],
}

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/309237?site
推荐阅读
相关标签
  

闽ICP备14008679号