Skip to content

Instantly share code, notes, and snippets.

@tinti
Forked from errordeveloper/setup.md
Created August 27, 2013 11:52
Show Gist options
  • Save tinti/6352581 to your computer and use it in GitHub Desktop.
Save tinti/6352581 to your computer and use it in GitHub Desktop.

Checkout repositories

  1. Poky
git clone git://git.yoctoproject.org/poky && cd poky
  1. OE metadata layers
git clone https://github.com/openembedded/meta-oe
  1. TI metadata layer
git clone git://git.yoctoproject.org/meta-ti

Prepare to build

  1. Initialise build environment
source oe-init-build-env
  1. 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)
  1. 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 \
  "

Compile everything!

bitbake core-image-minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment