Adding yocto packages
General
Packages and package groups can be added to image recipes.
See the Yocto Development manual for how to customize an image:http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage-imagefeatures
Adding a package to the local build of the BSP:
- Search for the corresponding recipe and which layer the recipe is in. This link is a useful tool for doing so:http://layers.openembedded.org/layerindex/branch/jethro/layers/
If the package is in the meta-openembedded layer, the recipe is already available in your build tree.
Add the following line to $YOCTO_DIR/build/conf/local.conf:
IMAGE_INSTALL_append = " <package>"
Note: The leading white-space between the " and the package name is necessary for the append command.
If you need to add a layer to the BSP, clone or extract it to the $YOCTO_DIR/sources/ directory. Then, modify $YOCTO_DIR/build/conf/bblayers.conf to include this new layer in BBLAYERS:
BBLAYERS += "${BSPDIR}/sources/<new_layer>"