Dec 1, 2007

[備份] OpenEmbedded

忘了是不是自已寫的筆記 XD

Setting up the toolchain and doing a build Directory Structure
mkdir -p /stuff/build/conf
cd /stuff/

Obtaining BitBake
cd /stuff/
svn co http://svn.berlios.de/svnroot/repos/bitbake/branches/bitbake-1.8/ bitbake

Updating bitbake
cd /stuff/bitbake; svn info
cd /stuff/bitbake; svn update

Obtaining OpenEmbedded
wget http://www.openembedded.org/snapshots/OE.mtn.bz2
bunzip2 OE.mtn

Install Monotone 0.32
http://monotone.ca/downloads/0.32/

mtn --db=/stuff/OE.mtn pull monotone.openembedded.org org.openembedded.dev
mtn --db=/stuff/OE.mtn checkout --branch=org.openembedded.dev
mtn --db=/stuff/OE.mtn checkout --branch=org.openembedded.dreambox

mtn --db=/stuff/OE.mtn pull monotone.openembedded.org org.openembedded.dev
mtn --db=/stuff/OE.mtn pull monotone.openembedded.org org.openembedded.dreambox

cd /stuff/org.openembedded.dev && mtn update
cd /stuff/org.openembedded.dreambox && mtn update

Create local configuration
cd /stuff/
cp org.openembedded.dev/conf/local.conf.sample build/conf/local.conf
vi build/conf/local.conf

Setup the environment
$ export PATH=/stuff/bitbake/bin:$PATH
$ export BBPATH=/stuff/build:/stuff/org.openembedded.dev

Start building
$ bitbake nano

No comments: