http://source.android.com/download/using-repo
http://source.android.com/roadmap/cupcake
http://www.iim.nctu.edu.tw/~richardlin/blog/?p=5
http://xda-university.com/as-a-developer/repo-tips-tricks
Following the instruction below, you will get the source.
$mkdir cupcake
$cd cupcake
$repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
$repo sync
After that, simply keyin make to build.
When finished, the built image will be in out/target/product/generic. (There is a pre-built kernel for qemu in prebuilt/android-arm/kernel/kernel-qemu)
[Note] If you have your git branch server, try to modify .repo/manifest.xml(fetch) to use it.
[Note] You may need new emulator to run latest git code. For example, using emulator 1.9, you may type following command in out/target/product/generic:
../../../host/linux-x86/bin/emulator -sysdir ./ -kernel ../../../../prebuilt/android-arm/kernel/kernel-qemu -data userdata.img
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment