Architecture:
1. $BBPATH variable used by bitbake to find conf/local.conf and conf/bitbake.conf files. (And also defines the $TOPDIR for bitbake? I am not sure). It contains two positions: build/ and openembedded/, both of them have a conf/ folder.
2. conf/bitbake.conf: defines many variables used by bitbake and openembedded. Normally doesn’t need to be modified. It also includes some other conf files, such as
conf/local.conf, ————actually it is build/conf/local.conf. Needs to be modified.
conf/build/${BUILD_SYS}.conf ————–doesn’t exists. Seems not important.
conf/target/${TARGET_SYS}.conf ———– doesn’t exists. Seems not important?
conf/machine/${MACHINE}.conf —– in openembedded/conf/machine, ${MACHINE} defined in local.conf.
conf/distro/${DISTRO}.conf ——– in openembedded/conf/machine, ${DISTRO} defined in local.conf.
3. Install:
required software:
apt-get install python python-dev python-psyco ccache patch m4 sed bison make \
wget bzip2 cvs gawk libc6-dev g++ subversion sharutils coreutils \
docbook openjade quilt libmpfr-dev libpcre3-dev unzip subversion
svn(subversion) -> bitbake
svn co svn://svn.berlios.de/bitbake/trunk/bitbake
cd bitbake
$ ./setup.py install –prefix=/usr/local –install-data=/usr/local/share
Build bitbake documents:
$ cd /stuff/bitbake
$ make -C doc/manual # optional, takes some time
$ # make sure that you have configured sudo properly
$ sudo ./setup.py install
$ make -C doc/manual clean #optional
$ sudo mv /usr/doc/bitbake-1.0 /usr/local/share/doc # optional
$ sudo rmdir /usr/doc # optional. Might fail if there are other documents installed here
Install Monotone
apt-get install monotone
Monotone -> OpenEmbedded
monotone --db=/stuff/oe.db pull monotone.vanille.de "org.openembedded.{dev,dreambox}"
monotone –db=/stuff/oe.db checkout –branch=org.openembedded.dev
monotone --db=/stuff/oe.db pull monotone.vanille.de org.openembedded.{dev,dreambox}
(cd /stuff/org.openembedded.dev; monotone update)
(cd /stuff/org.openembedded.dreambox; monotone update)
artyutyiuio said
Here are some links that I believe will be interested