# Add third-party layers to workspace

To add a third-party layer to the workspace, do the following:

1. Clone the layer under `<WORKSPACE>/layers/`.
2. Add the layer in the `layers/meta-qcom-distro/conf/bblayers.conf` file as part of the `BBLAYERS` variable, as follows:

# These layers hold machine specific content, aka Board Support Packages
        BSPLAYERS ?= " \
          ${WORKSPACE}/layers/meta-testlayer \
          ${WORKSPACE}/layers/meta-qcom-hwe \
          ${WORKSPACE}/layers/meta-qcom \
        "
        Copy to clipboard

Cloning and adding the layer allows the BitBake to parse the layer.

Last Published: Jul 02, 2025

[Previous Topic
Use of devtool](https://docs.qualcomm.com/bundle/publicresource/80-70020-27/topics/use_of_devtool.md) [Next Topic
Create a build for most optimized boot KPI](https://docs.qualcomm.com/bundle/publicresource/80-70020-27/topics/creating_a_build_for_optimized_boot_kpi.md)