I am trying to build an android image and kernel for Hikey970.
I am trying to follow the guide at https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey970/build/aosp.md and https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey970/build/linux-kernel.md for building android and kernel respectively.
But I find that lunch command does not list options for hikey970.
So, I was suggested not to choose options in lunch command, but to use the command ‘lunch hikey970-userdebug’ directly. Though lunch command works this way, further compilation fails with make command . Has anybody faced this issue? Any pointers would be of great use!
build/make/core/Makefile:28: error: overriding commands for target `out/target/product/hikey970/system/vendor/lib/libc_secshared.so’, previously defined at build/make/core/base_rules.mk:418
10:03:30 ckati failed with: exit status 1