一,错误信息如下:
========================================== ==
PLATFORM_VERSION_CODENAME = REL
PLATFORM_VERSION = 11
TARGET_PRODUCT = rk3568_r
TARGET_BUILD_VARIANT = userdebug
TARGET_BUILD_TYPE =释放
TARGET_ARCH = arm64
TARGET_ARCH_VARIANT = armv8-一个
TARGET_CPU_VARIANT =皮质-A55
TARGET_2ND_ARCH =手臂
TARGET_2ND_ARCH_VARIANT = armv8-2a
TARGET_2ND_CPU_VARIANT =皮质-A55
HOST_ARCH = x86_64的
HOST_2ND_ARCH = 86
HOST_OS =linux
HOST_OS_EXTRA=Linux-4.15.0-45-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ1D.210105.003
OUT_DIR=out
========================================= ==
[100% 43975/43975] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
失败:out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out /.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build. ninja Android.bp
libRkTeeWeaver 想要条件编译
libgralloc_priv 想要条件编译
librga 想要条件编译
Rockchip 条件编译
Optee 版本:v2
[hardware/rockchip/libgralloc/bifrost frameworks/native/include system/core/libsync system/core/libsync/包括外部/libdrm/include/drm] 30
错误:硬件/rockchip/librga/Android.bp:18:1:模块“gen_rga_version”:模块源路径“hardware/rockchip/librga/.git”不存在
16:07:48 很快引导失败:退出状态 1
#### 未能构建一些目标 (02:32 (mm:ss)) ####
构建 android 失败!
2、解决办法
diff --git a/hardware/rockchip/librga/Android.bp b/hardware/rockchip/librga/Android.bp
index b096da8..faabdd6 100755
--- a/hardware/rockchip/librga/Android.bp
+++ b/hardware/rockchip/librga/Android.bp
@@ -19,7 +19,6 @@ genrule {
name: “gen_rga_version”,
srcs: [
“version.h.template”,
- “.git/ ”
],
出:
cmd: “rm -f $(location version.h) && ” + “bash $(location version.sh) 《 $(in) 》 $(out)”,