1. Android build
- Download original android source code ( kitkat 4.4.2 ) from http://source.android.com
- Untar opensource packages of LS740_andoid_KK.tar.gz* into downloaded android source directory
a) tar -zxvf LS740_andoid_KK.tar.gz
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh
b) choosecombo 1 generic user
c) make -j4
- When you compile the android source code, you have to add google original prebuilt source(toolchain) into the android directory.
- After build, you can find output at out/target/product/generic
2. Kernel Build
- Uncompress using following command at the android directory
tar xvzf LS740_KK_kernel.tar.gz
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the android directory.
- Run following scripts to build kernel
a)$cd kernel
$mkdir -p out
b)$export ARCH=arm
c)$export TARGET_PRODUCT=x5_spr_us
d)$export DTS_TARGET=msm8226-x5_spr_us
e)$export PATH=$PATH:tools/lz4demo
f)$export CROSS_COMPILE=$(pwd)/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
g)$make O=./out ARCH=arm x5_spr_us_defconfig
h)$make O=./out -j4
* "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously.
* lz4demo : lz4demo is included in kernel/tools/lz4demo(change mode for excuting, chmod 777 lz4demo).
More information can be found at "https://code.google.com/p/lz4/"
- After build, you can find the build image(zImage) at out/arch/arm/boot
3. how to build chromium_lge (vendor\lge\external\chromium_lge\src),
please refer to README.txt at the folder mentioned above.