-
Notifications
You must be signed in to change notification settings - Fork 18
/
MMI-PPIS29.65-21-2.txt
62 lines (33 loc) · 6.56 KB
/
MMI-PPIS29.65-21-2.txt
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
MMI-PPIS29.65-21-2 For moto G8+
Kernel Modules:
---------------
Download prebuilts folder from Android distribution. Move it to $my_top_dir
For example:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
mkdir -p $my_top_dir/prebuilts/gcc/linux-x86/aarch64
mv aarch64-linux-android-4.9 $my_top_dir/prebuilts/gcc/linux-x86/aarch64/.
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
mkdir -p $my_top_dir/prebuilts/gcc/linux-x86/arm
mv arm-eabi-4.8 $my_top_dir/prebuilts/gcc/linux-x86/arm/.
mkdir -p $my_top_dir/out/target/product/generic/obj/kernel/msm-4.14
kernel_out_dir=$my_top_dir/out/target/product/generic/obj/kernel/msm-4.14
across=$my_top_dir/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
bcross=$my_top_dir/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-
( perl -le 'print \"# This file was automatically generated from:\n#\t\" . join(\"\n#\t\", @ARGV) . \"\n\"' kernel/msm-4.14/arch/arm64/configs/vendor/trinket-perf_defconfig kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/moto-trinket.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/debug-trinket.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/debug-trinket-doha.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/moto-trinket-doha.config && cat kernel/msm-4.14/arch/arm64/configs/vendor/trinket-perf_defconfig kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/moto-trinket.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/debug-trinket.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/debug-trinket-doha.config kernel/msm-4.14/arch/arm64/configs/vendor/ext_config/moto-trinket-doha.config ) > $kernel_out_dir/mapphone_defconfig || ( rm -f $kernel_out_dir/mapphone_defconfig && false )
cp $kernel_out_dir/mapphone_defconfig $kernel_out_dir/.config
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- defoldconfig
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- headers_install
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- oldconfig
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- CONFIG_INPUT_EGISTEC_FPS_NAVI=y CONFIG_INPUT_EGISTEC_FPS_NAVI_HORIZON=y CONFIG_INPUT_EGISTEC_FPS_NAVI_VERTICAL=y CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_TOUCHSCREEN_HIMAX_V2_MMI_0FLASH=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_MFD_TACNA=y CONFIG_MFD_TACNA_SPI=y CONFIG_MFD_CS48L32=y CONFIG_PINCTRL_CS48L32=y CONFIG_CIRRUS_PLAYBACK=y
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- CONFIG_INPUT_EGISTEC_FPS_NAVI=y CONFIG_INPUT_EGISTEC_FPS_NAVI_HORIZON=y CONFIG_INPUT_EGISTEC_FPS_NAVI_VERTICAL=y CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_TOUCHSCREEN_HIMAX_V2_MMI_0FLASH=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_MFD_TACNA=y CONFIG_MFD_TACNA_SPI=y CONFIG_MFD_CS48L32=y CONFIG_PINCTRL_CS48L32=y CONFIG_CIRRUS_PLAYBACK=y modules
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir INSTALL_MOD_PATH=$my_top_dir/out/target/product/generic INSTALL_MOD_STRIP=1 DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- modules_install
make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- tags
env KCONFIG_NOTIMESTAMP=true make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- menuconfig
env KCONFIG_NOTIMESTAMP=true make -j8 -C kernel/msm-4.14 O=$kernel_out_dir DTC_EXT=dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y ARCH=arm64 CROSS_COMPILE=$across REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- savedefconfig
make -C kernel/msm-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$bcross clean
make -C kernel/msm-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$bcross mrproper
make -C kernel/msm-4.14 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$bcross distclean
WLAN Driver:
------------
cd $PWD/out/target/product/generic/obj
make -j8 -C kernel/msm-4.14 M=$my_top_dir/vendor/qcom/opensource/wlan/qcacld-3.0 O=$kernel_out_dir ARCH=arm64 CROSS_COMPILE=$my_top_dir/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android- REAL_CC=$my_top_dir/vendor/qcom/proprietary/llvm-arm-toolchain-ship/6.0/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- CONFIG_INPUT_EGISTEC_FPS_NAVI=y CONFIG_INPUT_EGISTEC_FPS_NAVI_HORIZON=y CONFIG_INPUT_EGISTEC_FPS_NAVI_VERTICAL=y CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_FOCALTECH_0FLASH_MMI_IC_NAME=ft8719 CONFIG_INPUT_TOUCHSCREEN_HIMAX_V2_MMI_0FLASH=y CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83102 CONFIG_INPUT_HIMAX_V2_MMI_IC_NAME=hx83112 CONFIG_MFD_TACNA=y CONFIG_MFD_TACNA_SPI=y CONFIG_MFD_CS48L32=y CONFIG_PINCTRL_CS48L32=y CONFIG_CIRRUS_PLAYBACK=y modules WLAN_ROOT=$my_top_dir/vendor/qcom/opensource/wlan/qcacld-3.0 WLAN_COMMON_ROOT=../qca-wifi-host-cmn WLAN_COMMON_INC=$my_top_dir/vendor/qcom/opensource/wlan/qca-wifi-host-cmn MODNAME=wlan BOARD_PLATFORM=trinket CONFIG_QCA_CLD_WLAN=m