交叉编译工具: codesourcery lite arm-2009q1-203-arm-none-linux-gnueabi
环境:ubuntu11.04 x64
第一,最好在root用户下安装,不然有各种问题
ctrl+T然后su输入passwd然后把下载下来的bin文件打开,java写的安装工具,一路next,安装完成
第二,ctrl+T开终端,export工具链安装位置到PATH,我的是/root/Codesourcery/Sourcery_G++_Lite/bin
export CROSS_COMPILE=arm-none-linux-gnueabi-
export ARCH=arm
第三,make你的kernel
另外,记得装uboot-mkimage如果你想用uboot引导的话
Here we record some issues which is related with android source compilation:
1,about repo: first you get curl using apt-get,then use curl to get repo, what is to mention is that
http://android.git.kernel.org
can not be used to get repo anymore, try this one:https://dl-ssl.google.com/dl/googlesource/git-repo/repo