RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents | ||
---|---|---|
|
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:
...
draw.io Diagram | ||||
---|---|---|---|---|
|
...
Page Tree | ||
---|---|---|
|
...