ANDROID: move CLANG_VERSION definition to build.config.constants

Moving this static value to a separate configuration file allows it to
be used from other builds as well, such as the Kleaf build.

Bug: 210296725
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I07aac5609d8ec986e0e270fdbba3662ac10029f4
This commit is contained in:
Matthias Maennich
2021-12-12 15:23:28 +00:00
parent a1333d173e
commit 8a97c9eb77
2 changed files with 4 additions and 1 deletions

View File

@@ -1,9 +1,11 @@
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.constants
BRANCH=android13-5.10
KMI_GENERATION=0
LLVM=1
DEPMOD=depmod
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r437112/bin
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-${CLANG_VERSION}/bin
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
DTC=${ROOT_DIR}/${BUILDTOOLS_PREBUILT_BIN}/dtc

1
build.config.constants Normal file
View File

@@ -0,0 +1 @@
CLANG_VERSION=r437112