android_kernel_xiaomi_sm8350/build.config.common
Nick Desaulniers 38f8401a1a
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 aosp/1405387.

Bug: 65987925
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I0975dcad48b6c5344124343606e1c7f85e76e4ee
2022-11-14 03:04:00 +02:00

13 lines
310 B
Plaintext

BRANCH=android11-5.4
KMI_GENERATION=2
LLVM=1
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r416183b/bin
DEPMOD=depmod
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
KCFLAGS="${KCFLAGS} -D__ANDROID_COMMON_KERNEL__"
STOP_SHIP_TRACEPRINTK=1
IN_KERNEL_MODULES=1
DO_NOT_STRIP_MODULES=1