Versions Compared

Key

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

...

$ repo init -u https://YOUR_USERNAME@code.rdkcentral.com/r/manifests
$ repo sync --no-clone-bundle 

The first command will download the manifest, while the other command will fetch and checkout all the relevant git trees. Now you have a complete folder structure ready to build the RDK OpenEmbedded distro. The Manifest file(manifest.xml or default.xml) defines which repositories the project uses and links to appropriate revisions of each git repository. After completing "repo init", manifest files will be downloaded in ".repo/manifests/" path. 

...

Initializing the Build Environment

To build a Yocto project, the following sample steps are necessarybuild OpenEmbedded we first need to initialize the build environment and to generate the build configuration files, namely:

  • <BUILDDIR>/conf/local.conf which contains build parameters, such as distro name, options to control build parallelism, ..
  • <BUILDDIR>/conf/bblayers.conf which contains the list of "OE Layers" that we want to use for the build.

A "helper" script has been created to facilitate the creation of these files. You can initialize the build environment with:

$ cd <workspace dir>
$ source meta-cmf/setup-environment

...