January 2018
Intermediate to advanced
456 pages
12h 49m
English
Each recipe has a PACKAGE_ARCH variable that categorizes the recipe into a package feed, as we saw in the Exploring an image's contents recipe. Most of the time, they are automatically sorted out by the Yocto build system. For example, if the recipe is a kernel, a kernel module recipe, or an image recipe, or even if it is cross-compiling or building native applications, the Yocto build system will set the package architecture accordingly.
BitBake will also look at the SRC_URI machine overrides and adjust the package architecture, and if your recipe is using the allarch class, it will set the package architecture to all.
So when working on a recipe that only applies to a machine or machine family, or that ...
Read now
Unlock full access