Its super easy with stinebds android tree. take a look
here to get the info on getting the tree.
Ubuntu is the only officially supported linux platform. I have not tried to build on the newest release (10.04LTS).
The steps I did to be able to compile this:
1) Get
Ubuntu
2) Set up your system per
Google Android Source page
3) The Directions above the java package wasn't found so you'll have to
look for it
3b) Extract the Java file type 'sh ./jdk-1_5_0_xx-linux586.bin'
3c) move the extracted folder to /usr/local 'sudo mv jdk1.5.0_xx /usr/local/'
3d) change to /usr/bin and link java javac from the sdk 'ln -s ../local/jdk1.5.0_xx/bin/java...'
3e) export JAVA_HOME=/usr/loca/jdk1.5.0_xx
3f) export ANDROID_JAVA_HOME=$JAVA_HOME
4) Get the Android Source tree (You can pick.
Main Branch Or
Stinebds Tree)
5a) cd ~/(your android directory)
5b) export TOP=$PWD
5c) make -j2
5) Boot it using the ext2 file or use Squashfs to make a sqsh file.
Good luck! I had a link that showed how to patch your ubuntu system but I can't seem to find it right now.