Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
yocto-project.rst 2.77 KiB

Poky/Yocto Project

|main_project_name| aims to use standard opensource tools to create a build environment that is both familiar to users in the domain but also flexible enough for the requirements of the project. With this in mind, the project build infrastructure is based on the OpenEmbedded build system, more specifically Poky, the Yocto Project open source reference embedded distribution.

Build System Concepts

The build system uses build instruction files that in the language of the system are called recipes and layers.

Layers are one of the fundamental models of the build system. It enables both collaboration and customization by defining scoped meta-data. These layers become a collection of build instruction files that have a defined scope. For example, there are BSP (board support package) layers that enable board support in the build system.

See terms for reference for more information.

|main_project_name| Build Layers

|main_project_name| bases its build setup on OE-core and bitbake. The main hub of layers, is oniro, a collection of layers with different scopes for defining the project's requirements and capabilities.

For example, meta-oniro-core provides build recipes for defining the core policies of the build infrastructure (distribution configuration, images, core packages customization, etc.).

Another example is meta-oniro-staging, a layer that provides temporary fixes and support for changes that are aimed upstream but have this place until upstream catches up.

For more details of each provided layer of oniro, see the relevant README.md file at the root of the layer.

Besides the oniro collection of layers, the project is also the home to a set of other build system layers. Explore them all in our project GitLab instance.

Additional Documentation

Yocto Project provides extensive documentation on various aspects of the build system. For the general usage of the build system, it's components, architecture and capabilities consult the following resources: