Assume using Ubuntu 9.10.
Install these package:
sudo 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++ \ desktop-file-utils chrpath sudo apt-get install libxml2-utils xmlto python-psyco apr
Set default shell from dash back to bash:
sudo dpkg-reconfigure dash
Recommend to mount /oe on a separate partition.
/etc/fstab:
/dev/sdb1 /oe ext3 defaults,noatime 0 2
Create folders:
# run as normal account:
mkdir -p /oe/{build,sources}
mkdir -p /oe/build/conf
Tree sample:
/oe |-- bitbake |-- build | `-- conf |-- openembedded `-- sources
Install OE:
cd /oe git clone git://git.openembedded.org/openembedded
Install bitbake into /oe/bitbake:
cd /oe wget http://download.berlios.de/bitbake/bitbake-1.8.18.tar.gz tar zxvf bitbake-1.8.18.tar.gz mv bitbake-1.8.18 bitbake
Add these to ~/.profile:
export OE_HOME=/oe PATH="$OE_HOME/bitbake/bin:$PATH" export BBPATH="$OE_HOME/build:$OE_HOME/openembedded"
OE getting started guide: http://oe-wiki.leggewie.org/index.php/Getting_started