Setup OpenEmbedded

OS

Assume using Ubuntu 9.10.

Required packages

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

Setup OE folder structure

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 and bitbake

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

Account configuration

Add these to ~/.profile:

export OE_HOME=/oe
PATH="$OE_HOME/bitbake/bin:$PATH"
export BBPATH="$OE_HOME/build:$OE_HOME/openembedded"

Reference

oe/setup_the_oe_environment.txt · Last modified: 2010-10-19 20:58 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0