forked from LineageOS/android_kernel_htc_msm8994
/
Readme.txt
29 lines (20 loc) · 865 Bytes
/
Readme.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
defconfig file: msm8994_defconfig
Download:
========
Download the corresponding official android toolchain:
linux-x86:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
darwin-x86:
git clone https://android.googlesource.com/platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9
Build the kernel:
=================
set the following environment variables:
$ mkdir -p out
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out msm8994_defconfig
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out -j16
Output binary files:
====================
After the build process finishes, the kernel image will be located at out/arch/arm64/boot/Image.gz-dtb
For additional information:
===========================
http://htcdev.com