Adding external layers to the Raspberry Pi

Now that we know how a layer works, we can add an existing external layer to our environment. To do this, we'll be working with meta-webserver ( http://layers.openembedded.org/layerindex/branch/master/layer/meta-webserver/ ) in order to include the famous web server, Monkey (http://monkey-project.com/).

As you know, the first step consists of modifying our conf/bblayers.conf file in order to add the path of the layer, as follows:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/packt/RASPBERRYPI/poky/meta \ /home/packt/RASPBERRYPI/poky/meta-yocto \ /home/packt/RASPBERRYPI/poky/meta-yocto-bsp ...

Get Yocto for Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.