主要参考官方文档:
http://docs.openembedded.org/usermanual/usermanual.html
#!/bin/sh
#autuor: linzheming
#ref: http://www.openembedded.org/wiki/Getting_started
#date: 2011/12/14
#install required packages
aptitude install sed wget cvs subversion git-core \
coreutils unzip texi2html texinfo docbook-utils \
gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ \
desktop-file-utils chrpath
apt-get install libxml2-utils xmlto python-psyco apr
#create nessary dirs
mkdir -p $OEBASE/build/conf
cd $OEBASE
#Getting BitBake
apt-get install bitbake
#Obtaining OpenEmbedded using Git
git clone http://github.com/openembedded/openembedded.git
#Updating OpenEmbedded
#cd openembedded && git pull -rebase
#create local configuration
cp openembedded/conf/local.conf.sample build/conf/local.conf
todo:http://labs.qt.nokia.com/2009/09/10/cross-compiling-qtx11/