今天从codeaurora拉了一个sdm845的代码编译不过
代码地址:
repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.UM.6.3.r6-02200-sdm845.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
hayden@ubuntu:~/workspace/Qualcomm_Android_sdm845$ make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=sdm845
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo300
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-130-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=OPM1.171019.026
OUT_DIR=out
============================================
ninja: no work to do.
[1/5] test android/soong/cc/config
FAILED: out/soong/.bootstrap/soong-cc-config/test/test.passed
out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/cc/config -f out/soong/.bootstrap/soong-cc-config/test/test.passed -- out/soong/.bootstrap/soong-cc-config/test/test -test.short
panic: read /home/hayden/workspace/Qualcomm_Android_sdm845: is a directory
goroutine 1 [running]:
android/soong/cc/config.setSdclangVars()
/home/hayden/workspace/Qualcomm_Android_sdm845/build/soong/cc/config/global.go:206 +0x17bc
android/soong/cc/config.init.2()
/home/hayden/workspace/Qualcomm_Android_sdm845/build/soong/cc/config/global.go:179 +0xcd6
android/soong/cc/config.init()
/home/hayden/workspace/Qualcomm_Android_sdm845/build/soong/cc/config/tidy_test.go:42 +0x3cbb
main.init()
/home/hayden/workspace/Qualcomm_Android_sdm845/out/soong/.bootstrap/soong-cc-config/test/test.go:64 +0x58
ninja: build stopped: subcommand failed.
21:41:04 soong failed with: exit status 1
#### failed to build some targets (1 seconds) ####