1.Compile code
$ source build/envsetup.sh
$lunch
Build all
$ make –j$(processes number)Build preloader$ make pl –j$(processes number)
Build lk
$ make lk –j$(processes number)
Build kernel
$ make kernel –j$(processes number)
Make bootimage package
$ make bootimage –j$(processes number)
Build android and make system image
$ make systemimage –j$(processes number)