Yocto Project Poky Documentation

repository·master·Indexed 19 days ago

https://github.com/yoctoproject/poky

Guidance on setting up a Yocto Project build environment using the Poky repository. Covers the transition from a monolithic combo-layer to a modular approach via individual repository clones (bitbake, openembedded-core, meta-yocto, and yocto-docs) or the recommended bitbake-setup tool.

Tokens
397
Snippets
1
Records
1
Agent score
16%

What's inside Poky

  1. Set up a Yocto Project build environment

    master

    The 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:

    • bitbake
    • openembedded-core
    • meta-yocto
    • yocto-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