mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-03 06:57:45 -04:00
added how to
This commit is contained in:
parent
ea0bd15e85
commit
fdcdfbb4b6
1 changed files with 24 additions and 0 deletions
24
how to build.txt
Normal file
24
how to build.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
################################################################################
|
||||
|
||||
1. How to Build
|
||||
- get Toolchain
|
||||
From android git server , codesourcery and etc ..
|
||||
- arm-linux-androideabi-4.9
|
||||
|
||||
- edit Makefile
|
||||
edit "CROSS_COMPILE" to right toolchain path(You downloaded).
|
||||
EX) CROSS_COMPILE= $(android platform directory you download)/android/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
|
||||
Ex) CROSS_COMPILE=/usr/local/toolchain/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- // check the location of toolchain
|
||||
|
||||
- to Build
|
||||
$ make ARCH=arm64 exynos7570-on5xelte_mea_defconfig
|
||||
$ make ARCH=arm64
|
||||
|
||||
2. Output files
|
||||
- Kernel : arch/arm/boot/zImage
|
||||
- module : drivers/*/*.ko
|
||||
|
||||
3. How to Clean
|
||||
$ make clean
|
||||
|
||||
################################################################################
|
Loading…
Add table
Add a link
Reference in a new issue