由于需要修改audio hal 所以需要重新编译 hardware/rockchip/audio/ 但是发现官方是直接copy的so ,经查找发现hardware/rockchip/audio/Android.mk中 AUDIO_FORCE_LEGACY=false 修改为 AUDIO_FORCE_LEGACY=true 可以编译 但是编译过程中报错: mmm hardware/rockchip/audio/ ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 TARGET_PRODUCT=rk3399_firefly_aio 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-5.10.16.3-microsoft-standard-WSL2-x86_64-Ubuntu-18.04.5-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QD4A.200805.003 OUT_DIR=out ============================================ device/rockchip/rk3399/preinstall/preinstall.mk was modified, regenerating... [100% 1/1] initializing build system ... device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml... device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk [100% 3/3] writing build rules ... FAILED: build/make/core/Makefile:28: error: overriding commands for target `out/target/product/rk3399_firefly_aio/system/bin/amix', previously defined at build/make/core/base_rules.mk:482 13:59:47 ckati failed with: exit status 1 #### failed to build some targets (45 seconds) #### 由于整体编译流程不熟悉,不知道再要改哪里,求助! |
-
1.4 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1