-
Notifications
You must be signed in to change notification settings - Fork 18
/
MMI-S1SA32.47-77
107 lines (55 loc) · 20.1 KB
/
MMI-S1SA32.47-77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
MMI-S1SA32.47-77 For Moto g 5G (2022)
Kernel Modules:
---------------
Download prebuilts folder from Android distribution. Move it to $my_top_dir
For example:
my_top_dir=$PWD
mkdir -vp $my_top_dir/prebuilts
cd $my_top_dir/prebuilts
git clone https://android.googlesource.com/platform/prebuilts/build-tools
mkdir -vp $my_top_dir/prebuilts/clang/host
cd $my_top_dir/prebuilts/clang/host
git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86
mkdir -vp $my_top_dir/prebuilts/gcc/linux-x86/aarch64
cd $my_top_dir/prebuilts/gcc/linux-x86/aarch64
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
cd -
my_top_dir=$PWD
mkdir -p $my_top_dir/out/target/product/generic/obj/KERNEL_OBJ/
kernel_out_dir=$my_top_dir/out/target/product/generic/obj/KERNEL_OBJ
make=$my_top_dir/prebuilts/build-tools/linux-x86/bin/make
cross=$my_top_dir/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
lib_path=$my_top_dir/prebuilts/clang/host/linux-x86/clang-r383902/lib64
clang=$my_top_dir/prebuilts/clang/host/linux-x86/clang-r383902/bin
cat kernel-4.14/arch/arm64/configs/k6833v1_64_defconfig kernel-4.14/arch/arm64/configs/ext_config/moto-k6833v1_64.config kernel-4.14/arch/arm64/configs/ext_config/moto-k6833v1_64-austin.config >> $kernel_out_dir/.config
mkdir -vp $kernel_out_dir/arch/arm64/boot/dts/austin_evb
mkdir -vp $kernel_out_dir/arch/arm64/boot/dts/austin_dvt2
cp kernel-4.14/dvt2_cust.dtsi $kernel_out_dir/arch/arm64/boot/dts/austin_dvt2/cust.dtsi
cp kernel-4.14/evb_cust.dtsi $kernel_out_dir/arch/arm64/boot/dts/austin_evb/cust.dtsi
make -j48 -C kernel-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' menuconfig
make -j48 -C kernel-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' savedefconfig
$make -j48 -C kernel-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' defoldconfig
$make -j48 -C kernel-4.14 O=$kernel_out_dir TARGET_PRODUCT='austin_g' ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay'
$make -j48 -C $kernel_out_dir mediatek/mt6833-austin-dvt2-overlay.dtb O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay'
$make -j48 -C $kernel_out_dir mediatek/mt6833-austin-evb-overlay.dtb O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay'
$make -j48 -C $kernel_out_dir mediatek/mt6833.dtb O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay'
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/sound/soc/codecs/aw883xx_dlkm AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/sound/soc/codecs/aw883xx_dlkm
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/common AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' MTK_CONSYS_ADIE= MTK_PLATFORM_WMT=MT6853 TARGET_BOARD_PLATFORM_WMT=mt6833 src=$PWD/vendor/mediatek/kernel_modules/connectivity/common
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/bt/mt66xx/wmt AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/vendor/mediatek/kernel_modules/connectivity/common/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' BT_PLATFORM=connac1x LOG_TAG=[BT_Drv][wmt] src=$PWD/vendor/mediatek/kernel_modules/connectivity/bt/mt66xx/wmt
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/input/touchscreen/chipone_tddi_mmi AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/input/touchscreen/chipone_tddi_mmi
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/connfem AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' src=$PWD/vendor/mediatek/kernel_modules/connectivity/connfem
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/input/misc/ets_fps_mmi AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/input/misc/ets_fps_mmi
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/fs/exfat AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/fs/exfat
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/fmradio AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/vendor/mediatek/kernel_modules/connectivity/common/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_FM_USER_LOAD=1 MODULE_NAME=fmradio_drv_mt6631 CFG_BUILD_CONNAC2=false CFG_FM_CHIP_ID=6833 CFG_FM_CHIP=mt6631 CFG_FM_PLAT=mt6631 src=$PWD/vendor/mediatek/kernel_modules/connectivity/fmradio
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/input/misc/chipone_fps_mmi AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/input/misc/chipone_fps_mmi
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/fpsgo_cus AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' src=$PWD/vendor/mediatek/kernel_modules/fpsgo_cus
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/gps AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/vendor/mediatek/kernel_modules/connectivity/common/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' src=$PWD/vendor/mediatek/kernel_modules/connectivity/gps
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/met_drv/4.14 AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' src=$PWD/vendor/mediatek/kernel_modules/met_drv/4.14
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/mmi_info AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/mmi_info
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/moto_f_usbnet AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/moto_f_usbnet
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/power/qpnp_adaptive_charge AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/power/qpnp_adaptive_charge
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/sensors AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/sensors
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/misc/sx937x AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/motorola/kernel/modules/drivers/sensors/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/misc/sx937x
$make -j48 -C $kernel_out_dir M=$PWD/motorola/kernel/modules/drivers/misc/utag AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FTS_MTK_V2_MMI_IC_NAME=ft3519 HIMAX_CONFIG_KALLSYMS_ALL=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME_D=hx83102d CONFIG_SX937X_USB_CAL=y CONFIG_SX937X_POWER_SUPPLY_ONLINE=y CONFIG_SX937X_POWER_CONTROL_SUPPORT=y ANDROID_BUILD_TOP=$PWD TOP=$PWD KERNEL_DIR_PATH=kernel-4.14 src=$PWD/motorola/kernel/modules/drivers/misc/utag
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/wlan/adaptor AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/vendor/mediatek/kernel_modules/connectivity/common/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONNAC_VER=1_0 MODULE_NAME=wmt_chrdev_wifi src=$PWD/vendor/mediatek/kernel_modules/connectivity/wlan/adaptor
$make -j48 -C $kernel_out_dir M=$PWD/vendor/mediatek/kernel_modules/connectivity/wlan/core/gen4m AUTOCONF_H=$kernel_out_dir/include/generated/autoconf.h KBUILD_EXTRA_SYMBOLS="$PWD/vendor/mediatek/kernel_modules/connectivity/wlan/adaptor/Module.symvers $PWD/vendor/mediatek/kernel_modules/connectivity/common/Module.symvers $PWD/vendor/mediatek/kernel_modules/connectivity/connfem/Module.symvers" O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=aarch64-linux-androidkernel- CLANG_TRIPLE=aarch64-linux-gnu- LD=ld.lld LD_LIBRARY_PATH=$lib_path:$LD_LIBRARY_PATH NM=llvm-nm OBJCOPY=llvm-objcopy CC=clang ROOTDIR=$my_top_dir PATH=$clang:$cross:/usr/bin:/bin:$PATH PROJECT_DTB_NAMES='mediatek/mt6833-austin-evb-overlay mediatek/mt6833-austin-dvt2-overlay' CONFIG_MTK_COMBO_WIFI_HIF=axi MODULE_NAME=wlan_drv_gen4m MTK_COMBO_CHIP=SOC2_1X1 WLAN_CHIP_ID=6833 MTK_ANDROID_WMT=y WIFI_ENABLE_GCOV= WIFI_IP_SET=1 MTK_ANDROID_EMI=y MTK_WLAN_SERVICE=yes src=$PWD/vendor/mediatek/kernel_modules/connectivity/wlan/core/gen4m