Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2586f040 authored by Lecopzer Chen's avatar Lecopzer Chen Committed by William McVicker
Browse files

ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__



Our test build is broken by KCFLAGS overrided in build.config.comm.

Since Linux Makefile supports 'export KCFLAGS=XXX' to customize the
KCFLAGS, and we should keep this functionality.

Bug: 230818006
Fixes: d2ed4cfc ("ANDROID: Add flag to indicate compiling against ACK")
Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
Change-Id: I9425d79697bc1fe816ce82d523f91631dee6b8f4
parent d2ed4cfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ 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__
KCFLAGS="${KCFLAGS} -D__ANDROID_COMMON_KERNEL__"
EXTRA_CMDS=''
STOP_SHIP_TRACEPRINTK=1
IN_KERNEL_MODULES=1