From b03349cb585a41994683b29f03dfa70ac3cd7637 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Tue, 29 Sep 2020 17:50:50 -0700 Subject: [PATCH] ANDROID: build.config.common: enable LLVM=1 This moves builds to all use LLVM=1 argument to make, rather than CC=clang NM=llvm-nm OBJCOPY=llvm-objcopy ... (see also https://www.kernel.org/doc/html/latest/kbuild/llvm.html#llvm-utilities). Step 3 of: https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/BINUTILS_KERNEL_DEPRECATION.md Bug: 65987925 Bug: 141693040 Signed-off-by: Nick Desaulniers Change-Id: I0d1a4e322a76a91746f2d0888bbba1eee54a7926 --- build.config.common | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.config.common b/build.config.common index 1454d4c3c7c7..1b0034f31452 100644 --- a/build.config.common +++ b/build.config.common @@ -1,10 +1,7 @@ BRANCH=android-4.19-stable KMI_GENERATION=0 -CC=clang -LD=ld.lld -NM=llvm-nm -OBJCOPY=llvm-objcopy +LLVM=1 DEPMOD=depmod CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r383902/bin BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86