diff options
| author | 2020-04-28 15:53:42 +0100 | |
|---|---|---|
| committer | 2020-04-28 15:54:59 +0100 | |
| commit | 7cad0f860b50d152f0420acfba18a7cb2a9ceeed (patch) | |
| tree | 3c0828314eb3b8c469eb437ebd29c3568fc4849a | |
| parent | a6c19f792d578a705822fb6f6ca391142bce5388 (diff) | |
Use FORCE_BUILD_LLVM_COMPONENTS.
And remove the allow missing dependencies flag.
Test: build-mainline-modules.sh
Change-Id: I6ba8892ef66eeb42c7bd3abc989a80ad4b6a1cf9
| -rwxr-xr-x | scripts/build-aml-prebuilts.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/build-aml-prebuilts.sh b/scripts/build-aml-prebuilts.sh index 74083492e..eef61498d 100755 --- a/scripts/build-aml-prebuilts.sh +++ b/scripts/build-aml-prebuilts.sh @@ -51,13 +51,11 @@ mkdir -p ${SOONG_OUT} SOONG_VARS=${SOONG_OUT}/soong.variables # We enable bionic linux builds as ART also needs prebuilts for it. -# Enabling bionic linux requires setting allow_missing_dependencies. cat > ${SOONG_VARS}.new << EOF { "Platform_sdk_version": ${PLATFORM_SDK_VERSION}, "Platform_sdk_codename": "${PLATFORM_VERSION}", "Platform_version_active_codenames": ${PLATFORM_VERSION_ALL_CODENAMES}, - "Allow_missing_dependencies": true, "DeviceName": "generic_arm64", "HostArch": "x86_64", @@ -78,4 +76,7 @@ else mv ${SOONG_VARS}.new ${SOONG_VARS} fi -m --skip-make "$@" +# We use force building LLVM components flag (even though we actually don't +# compile them) because we don't have bionic host prebuilts +# for them. +FORCE_BUILD_LLVM_COMPONENTS=true m --skip-make "$@" |