aananth@m700:~/aosp$ make -j32 ============================================ PLATFORM_VERSION_CODENAME=O PLATFORM_VERSION=O TARGET_PRODUCT=hikey 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-a53 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-78-generic-x86_64-with-Ubuntu-16.04-xenial HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NYC OUT_DIR=out ============================================ [38/38] bootstrap out/soong/.minibootstrap/build.ninja.in [2/2] bootstrap out/soong/.minibootstrap/build.ninja.in [4/4] cp out/soong/.bootstrap/bin/bpglob [500/501] glob vendor/*/*/Android.bp [46/46] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja out/build-hikey.ninja is missing, regenerating... [135/685] including ./device/linaro/hikey/Android.mk ... build/core/base_rules.mk:238: error: device/linaro/hikey/gralloc960: MODULE.TARGET.SHARED_LIBRARIES.gralloc.hikey already defined by device/linaro/hikey/gralloc. 06:21:56 ckati failed with: exit status 1 build/core/main.mk:21: recipe for target 'run_soong_ui' failed make: *** [run_soong_ui] Error 1 #### make failed to build some targets (01:02 (mm:ss)) ####