[Detail] https://android-review.googlesource.com/c/kernel/common/+/1823999 [Solution] 1. replace r428724 to r433403 2. disable -Wunused-but-set-variable 3. fix error in sspm_timesync.c:174:37: error: overflow in expression; result is 1385447424 with type long [-Werror,-Winteger-overflow] MTK-Commit-Id: 7e87be8100d15ce2f0e44dbc3b1146197cf2d5a3 CR-Id: ALPS06334164 Feature: build process Change-Id: I9be5fa9006f8bf535e24da3e52a919b09aa8d14d Signed-off-by: Po Hu <po.hu@mediatek.com>
20 lines
386 B
Plaintext
20 lines
386 B
Plaintext
ARCH=arm
|
|
|
|
CROSS_COMPILE=arm-linux-gnueabi-
|
|
LLVM=1
|
|
|
|
# DEFCONFIG=defconfig
|
|
KERNEL_DIR=kernel-4.19
|
|
CLANG_PREBUILT_BIN=prebuilts/clang/host/linux-x86/clang-r433403b/bin
|
|
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gas/linux-x86
|
|
# for check scripts
|
|
CC=clang
|
|
LD=ld.lld
|
|
AR=llvm-ar
|
|
NM=llvm-nm
|
|
OBJCOPY=llvm-objcopy
|
|
OBJDUMP=llvm-objdump
|
|
READELF=llvm-readelf
|
|
OBJSIZE=llvm-size
|
|
STRIP=llvm-strip
|