Adding yocto packages

From Variscite Wiki
Revision as of 14:29, 17 July 2016 by Admin (talk | contribs) (Created page with "{{PageHeader|Adding packages to the Yocto build }} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ = General = Packages and package groups can be added to image rec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Adding packages to the Yocto build

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:

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>"