-
Andrei Gherzan authored
This also includes a set of additional small tweaks: 1. formatting and small rewarding 2. explicitly use the kitkstone branch for repo init (this avoids confusion and also saves us from repo edge cases where the default one is ignored) Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
Andrei Gherzan authoredThis also includes a set of additional small tweaks: 1. formatting and small rewarding 2. explicitly use the kitkstone branch for repo init (this avoids confusion and also saves us from repo edge cases where the default one is ignored) Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
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: