Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel1

Yocto Build System Overview

The Yocto Project is an open source collaboration project that provides templates, tools and methods to help create custom Linux-based systems for embedded products. It is an open source project initiated by the Linux Foundation in 2010. The Yocto Project uses the OpenEmbedded build system to construct complete Linux images.

...

BitBake is the task executor and scheduler used by the OpenEmbedded build system to build images. BitBake is a generic task execution engine that allows shell and Python tasks to be run efficiently and in parallel while working within complex inter-task dependency constraints. BitBake stores the output of each task in a directory, the shared state cache. Its location is controlled by the SSTATE_DIR variable. This cache is use to speed up compilation.

Usage:

bitbake

...

[options]

...

[recipename/target

...

...] 

Bitbake executes all the layers starting with a prefix ‘meta’.

...

The statements to put in your local.conf file are illustrated below:


Code Block
INHERIT += "externalsrc"

...



EXTERNALSRC_pn-myrecipe = "path-to-your-source-tree"


By default, externalsrc.bbclass builds the source code in a directory separate from the external source directory as specified by EXTERNALSRC. If you need to have the source built in the same directory in which it resides, or some other nominated directory, you can set EXTERNALSRC_BUILD to point to that directory:

...

Yocto Build Types: SRC_URI v/s External SRC

draw.io Diagram
diagramNameSRC_URI-VS-EXTERNAL-SRC.drawio
revision1
Image Removed


Additional Information

...

Page Tree
rootDOC:RDK-V Yocto Build Framework -old

References

...