We also recommend the following:
Store custom layers in a Git repository
that uses the
meta-<layer_name>
format.
Clone the repository alongside other
meta
directories in the
Source Directory.
Following these recommendations keeps your Source Directory and its configuration entirely inside the Yocto Project's core base.