From fdcdfbb4b6964fae7ea7737f948fd8409d3e0350 Mon Sep 17 00:00:00 2001 From: awab228 Date: Wed, 20 Jun 2018 00:13:06 +0200 Subject: [PATCH] added how to --- how to build.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 how to build.txt diff --git a/how to build.txt b/how to build.txt new file mode 100644 index 00000000..37b3dc6d --- /dev/null +++ b/how to build.txt @@ -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 + +################################################################################