mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Add a flag: __ANDROID_COMMON_KERNEL__ which out-of-tree vendor drivers can use to check if they are compiling against an Android Common Kernel. These out-of-tree vendor drivers can use this flag + LINUX_KERNEL_VERSION to determine if a feature has been backported. Bug: 229953929 Change-Id: I832344d63f3639479784753edfb7ac405068312f Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
16 lines
355 B
Text
16 lines
355 B
Text
BRANCH=android11-5.4
|
|
KMI_GENERATION=2
|
|
|
|
CC=clang
|
|
LD=ld.lld
|
|
NM=llvm-nm
|
|
OBJCOPY=llvm-objcopy
|
|
DEPMOD=depmod
|
|
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r416183b/bin
|
|
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86
|
|
|
|
KCFLAGS=-D__ANDROID_COMMON_KERNEL__
|
|
EXTRA_CMDS=''
|
|
STOP_SHIP_TRACEPRINTK=1
|
|
IN_KERNEL_MODULES=1
|
|
DO_NOT_STRIP_MODULES=1
|