|
【Android】
Android首次编译成功,二次编译失败问题咨询
发表于 2021-8-9 15:54:50
浏览:7536
|
回复:9
打印
只看该作者
[复制链接]
楼主
之前成功编译过几次Android,近期只修改了kernel和uboot,然后回头编译Android时,发现有如下错误。
尝试过 BoardConfig.mk 加BUILD_BROKEN_DUP_RULES := true,但又会出其他问题。
- [ 46% 128/277] including hardware/rockchip/libhwjpeg/Android.mk ...
- [ 48% 133/277] including hardware/rockchip/omx_il/Android.mk ...
- date: Unknown option 'R' (see "date --help")
- cp: .git/hooks/pre-commit: No such file or directory
- tools/hooks .git/hooks
- [ 99% 276/277] finishing build rules ...
- packages/apps/Camera2/Android.mk: warning: "Camera2 (app:platform) should not link against libjni_jpegutil (native:ndk:libc++:static)"
- [100% 277/277] writing build rules ...
- FAILED:
- build/make/core/Makefile:900: error: overriding commands for target`out/target/product/rk3568_firefly_aioj/obj/PACKAGING/depmod_vendor_stripped_intermediates/bcmdhd.ko', previously defined at build/make/core/Makefile:900
- 15:45:50 ckati failed with: exit status 1
复制代码
|
|