Create custom layer

Step 1 - Create layer using bitbake script

bitbake-layers create-layer ../meta-golemos

Note

All commands diplayed are executed from the build directory.

Basic structure of newly created layer should look like this.

../meta-golemos
├── conf
│   └── layer.conf
├── COPYING.MIT
├── README
└── recipes-example
    └── example
        └── example_0.1.bb

Step 2 - Add your layer using bitbake script

bitbake-layers add-layer ../meta-golemos

Note

All commands diplayed are executed from the build directory.

From now you can create custom recipes, images or even distributions.

Summary

After this steps your structure should look like this.

../meta-golemos
├── conf
│   └── layer.conf
├── COPYING.MIT
├── README
└── recipes-example
    └── example
        └── example_0.1.bb

Proceed to next step to add some really cool features to your layer.