- Poky
git clone git://git.yoctoproject.org/poky && cd poky
- OE metadata layers
git clone https://github.com/openembedded/meta-oe
- TI metadata layer
git clone git://git.yoctoproject.org/meta-ti
- Initialise build environment
- In
conf/local.conf
set these variables:
MACHINE ?= "beaglebone"
BBMASK ?= ".*/meta-ti/recipes-misc/(images|payload)/"
(unless you wish to deal with unnecessary layer dependencies)
- Add
meta-oe/meta-oe
and meta-ti
layers to conf/bblayers.conf
BBFILES ?= ""
BBLAYERS ?= " \
${TOPDIR}/../meta \
${TOPDIR}/../meta-yocto \
${TOPDIR}/../meta-oe/meta-oe \
${TOPDIR}/../meta-ti \
${TOPDIR}/../meta-yocto-bsp \
"
bitbake core-image-minimal
May be obvious to some, but thought I'd just add that on an Ubuntu Precise32 vagrant box, I found I needed to do this prior to the above:
sudo apt-get update
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath libsdl1.2-dev xterm bc