Versions Compared

Key

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

...

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
revision
Image Removed
1


Additional Information

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

References