forked from ananjaser1211/Apollo
-
Notifications
You must be signed in to change notification settings - Fork 5
/
README_Kernel.txt
22 lines (20 loc) · 1.09 KB
/
README_Kernel.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
1. How to Build
- get Toolchain
From android git server, codesourcery and etc ..
- gcc-cfp/gcc-ibv-jopp/aarch64-linux-android-4.9/bin/aarch64-linux-android-
- edit Makefile
edit "CROSS_COMPILE" to right toolchain path(You downloaded).
EX) CROSS_COMPILE=<android platform directory you download>/android/prebuilts/gcc-cfp/gcc-ibv-jopp/aarch64-linux-android-4.9/bin/aarch64-linux-android-
EX) CROSS_COMPILE=/usr/local/toolchain/gcc-cfp/gcc-ibv-jopp/aarch64-linux-android-4.9/bin/aarch64-linux-android- // check the location of toolchain
- to Build
$ export ANDROID_MAJOR_VERSION=q
$ export ARCH=arm64
$ make exynos9810-crownlte_defconfig
$ make
2. Output files
- Kernel : arch/arm64/boot/Image
- module : drivers/*/*.ko
3. How to Clean
$ make clean
################################################################################