1. Make sure your build host is set up
apt-get install python patch m4 make python-psyco ccache perl diffstat \
wget curl ftp cvs subversion git
2. Openembedded on your Distribution
i. echo "deb http://www.openembedded.org/dl/ packages/" >> /etc/apt/source
ii. install monotone 0.32
wget http://monotone.ca/downloads/0.32/monotone_0.32-0.1_i386.deb #版本不一樣,可能會有問題,這版本是我使用過沒問題的
update-alternatives --config git #select /usr/bin/git-scm to provide git instead of /usr/bin/git.transition
3. Complementary packages
apt-get install libxml2-utils xmlto passivetex
apt-get install docbook
4. Create your $OMDIR directory:
export OMDIR=$HOME/moko ; mkdir $OMDIR ; cd $OMDIR
5. Grab MokoMakefile:
wget http://www.rwhitby.net/files/openmoko/Makefile
6. Set up the environment:
make setup
7. Start building.
make openmoko-devel-image
8. Run
make build-qemu
make flash-qemu-local
make run-qemu





No comments:
Post a Comment