Using OpenEmbedded on Linux systems
http://wiki.openembedded.net/index.php/OEandYourDistro
apt-get install sed wget cvs subversion git-core \
coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \
gawk python-pysqlite2 diffstat help2man make gcc build-essential g++
MokoMakefile : Debian / Ubuntu
http://wiki.openmoko.org/wiki/Mokomakefile#Requirements_for_building_Openmoko
sudo apt-get install subversion build-essential help2man diffstat texi2html texinfo cvs gawk zip unzip cogito bzip2
sudo apt-get install libncurses5-dev zlib1g-dev libssl-dev libgtk2.0-dev
# To prevent errors in host validation
sudo apt-get install ca-certificates
# For Openmoko 2007.2 using BitBake-1.8.8:
sudo apt-get install python-pysqlite2 sqlite3 sqlite3-doc python-pysqlite2-dbg
# For building faster
sudo apt-get install quilt python-psyco ccache
# For qemu, install a second compiler for bug avoidance; MokoMakefile knows to look for it.
sudo apt-get install gcc-3.4 g++-3.4 libsdl1.2-dev lynx netpbm dosfstools
# On Ubuntu 8.04 and and Debian testing/unstable, the following was required instead of cogito
sudo apt-get install git-core
# Ubuntu links /bin/sh to /bin/dash, but some scripts fail because they use pushd and popd, which dash does not support
sudo dpkg-reconfigure dash
# Select No when it asks you to install dash as /bin/sh.
# This may be needed only for ASU
sudo apt-get install libxtst-dev
Building Openmoko with MokoMakefile
mkdir ~/moko ; cd ~/moko
make clobber ; make setup
wget http://downloads.freesmartphone.org/Makefile
make setup
make fso-gta02-testing-image
Updating the environment
make update-common
make setup
make update