Hi,
We have both DB410C and HiKey960. The first phase of our project used HiKey960, but for the next stage we are considering a Qualcomm System On Module to reduce the size of our device. Now I want to evaluate the performance of our main application on the APQ8016 (DB410C) so I’m trying to build AOSP in the same source code tree as we use for the Hikey 960. Using this documentation for reference:
https://www.96boards.org/documentation/consumer/dragonboard410c/guides/aosp.md.html
First I cleaned the full out directory by running make clean. But now, I get this:
============================================
PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=db410c32_only
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-45-generic-x86_64-ubuntu-16.04.4-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OC-MR1
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=db410c32_only
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-45-generic-x86_64-ubuntu-16.04.4-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OC-MR1
OUT_DIR=out
============================================
[43/43] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
[930/931] glob vendor/google_data/pgo-profiles/art/dex2oat_arm_arm64.profdata
wildcard(out/target/product/db410c32_only/clean_steps.mk) was changed, regenerating...
out/build-db410c32_only.ninja is missing, regenerating...
[355/827] including hikey-linaro/drivers/staging/greybus/tools/Android.mk ...
build/make/core/base_rules.mk:261: error: hikey-linaro/drivers/staging/greybus/tools: MODULE.TARGET.EXECUTABLES.gb_loopback_test already defined by db410c-kernel/drivers/staging/greybus/tools.
10:41:09 ckati failed with: exit status 1
How can I exluce all hikey related stuff from the db410 build? Conversely, I get the same on a HiKey kernel build.