-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathReadme.txt
More file actions
executable file
·29 lines (20 loc) · 866 Bytes
/
Copy pathReadme.txt
File metadata and controls
executable file
·29 lines (20 loc) · 866 Bytes
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: htcperf_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 htcperf_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.lz4-dtb
For additional information:
===========================
http://htcdev.com