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=architecture a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
Linux HOST_OS=
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: the out/soong/. The bootstrap/soong - cc - config/test/test passed
Out/soong/. The bootstrap/bin/gotestrunner - p./build/soong/cc/config - out/soong f/. The bootstrap/soong - cc - config/test/test passed - out/soong/. The 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 + 0 x17bc
Android/soong/cc/config. The init. 2 ()
/home/Hayden/workspace/Qualcomm_Android_sdm845/build/soong/cc/config/global go: 179 + 0 xcd6
Android/soong/cc/config. The init ()
/home/Hayden/workspace/Qualcomm_Android_sdm845/build/soong/cc/config/tidy_test go: 42 + 0 x3cbb
The main. The init ()
/home/Hayden/workspace/Qualcomm_Android_sdm845/out/soong/. The bootstrap/soong - cc - config/test/test. Go: 64 + 0 x58
Ninja: build stopped: subcommand failed.
21:41:04 soong failed with: the exit status 1
# # # # failed to build some targets (1 seconds) # # # #
CodePudding user response:
How can you so will make the oh,,,CodePudding user response:
Usually compilation method is:1: first source build/envsetup. Sh
2 second, lunch, and you can see a lunch menu, select the corresponding platform corresponding to the serial number, such as: sdm845, corresponding 47, in Which order you like? 47 [aosp_arm - eng] behind, input; If you know the corresponding platform of the serial number, may also directly: lunch serial number,
3 in the end, use sudo make - j8, namely can start normal compilation,
Above is the normal compilation process,
CodePudding user response:
Look at the vendor/end directory have the propertyCodePudding user response: