################################################################################
- How to Build
-
get Toolchain From android git server, codesourcery and etc ..
-
aarch64-linux-android-4.9
-
edit Makefile edit CROSS_COMPILE to right toolchain path(You downloaded). Ex) export PATH=$PATH:$(android platform directory you download)/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin Ex) export CROSS_COMPILE=aarch64-linux-android-
$ mkdir ../out $ make ARCH=arm64 O=../out merge_hi3660_defconfig $ make ARCH=arm64 O=../out -j8
- Output files
- Kernel : out/arch/arm64/boot/Image.gz
- module : out/drivers//.ko
- How to Clean $ make ARCH=arm64 distclean $ rm -rf out ################################################################################
En:Extracted from the official kernel source code (DUK EMUI8)
Ch:提取自官方内核源码(DUK EMUI8)