Set up a Yocto Project build environment
masterThe poky repository master branch is no longer being updated as a monolithic 'combo-layer' repository. To set up a build environment, you should use one of the following two methods:
Method 1: Individual Repository Clones
Clone the specific components required for your build individually. This is the traditional way of managing layers. You will need to manage and clone:
bitbakeopenembedded-coremeta-yoctoyocto-docs
Method 2: Use bitbake-setup
Use the new bitbake-setup tool, which is the recommended approach presented in the official documentation. This tool is designed to provide tight integration with BitBake and metadata, including support for configuration fragments and sstate mirrors.
Note: The poky distribution setting remains available within meta-yocto.
# Note: The README provides links to documentation rather than direct CLI commands.
# Method 1: Individual clones (manual process)
# Method 2: bitbake-setup (recommended)
# For detailed instructions, refer to:
# https://docs.yoctoproject.org/dev-manual/poky-manual-setup.html
# https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-environment-setup.html