|
【Android】
RK3399 Android8.1 升级到 Android9.0 编译问题请教各位大神。
发表于 2020-9-22 16:56:52
浏览:8163
|
回复:3
打印
只看该作者
[复制链接]
楼主
本帖最后由 新记忆而 于 2020-9-22 16:58 编辑
错误log 如下:
root@IServer:/data/work/android9.0/android9.0_r3# make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=rk3399_firefly_mid
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-42-generic-x86_64-Ubuntu-14.04-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: error: 'out/target/product/rk3399_firefly_mid/obj_arm/SHARED_LIBRARIES/libskia_intermediates/export_includes', needed by 'out/target/product/rk3399_firefly_mid/obj_arm/SHARED_LIBRARIES/camera.rk30board_intermediates/import_includes', missing and no known rule to make it
00:37:38 ninja failed with: exit status 1
#### failed to build some targets (10 seconds) ####
此环境可以正常编译firefly 官方源码android8.1 7. rk3399_firefly_mid-userdebug ,可以正常编译 aosp aosp-arm64-userdebug 版本。
现在我将 firefly rk3399 Android8.1中的 u_boot kernel FFtool rkbin vender 等文件和文件夹拷贝到了 aosp android9.0 源码中。 然后 make -j8 时出现上边报错信息,暂时找不到原因。
我看8.1 中有生成 out/target/product/rk3399_firefly_mid/obj_arm/SHARED_LIBRARIES/camera.rk30board_intermediates/import_includes
和
out/target/product/rk3399_firefly_mid/obj_arm/SHARED_LIBRARIES/libskia_intermediates/export_includes 两个文件
从报错信息中可以看出是 import_includes 依赖了 export_includes ,但是 export_includes 文件找不到,我现在不清楚 export_includes 文件时何时生成的,谁生成的,希望得到大家的帮助,谢谢啦。
|
|