1.8.2. Creating a new BSP Layer Using the bitbake-layers Script

I have put in information that will be the basis of this section, but it is missing a lot at this point. This whole section needs reviewed and filled in with proper information.

[INTRODUCE THE PROCEDURE AND LINK BACK TO BSP layer. IF THERE IS A LAUNDRY LIST OF ITEMS THAT NEED DEFINITION OR GET SET UP AS A RESULT OF THIS PROCEDURE, LIST THEM HERE.]

The following procedure creates a BSP layer:

[THERE IS MORE INFORMATION THAT NEEDS TO BE FILLED IN HERE. THIS NEEDS TO BE PROVIDED BY ENGINEERS.]

The remainder of this section presents an example that uses myarm as the machine name and qemu as the machine architecture. Of the available architectures, qemu is the only architecture that causes the script to prompt you further for an actual architecture. In every other way, this architecture is representative of how creating a BSP for an actual machine would work. The reason the example uses this architecture is because it is an emulated architecture and can easily be followed without requiring actual hardware.

Following is a complete example:

     [INSERT EXAMPLE - NEED EXAMPLE]
                    

Once the BSP Layer is created, you must add it to your bblayers.conf file. Here is an example:

     BBLAYERS = ? " \
        /usr/local/src/yocto/meta \
        /usr/local/src/yocto/meta-poky \
        /usr/local/src/yocto/meta-yocto-bsp \
        /usr/local/src/yocto/meta-myarm \
        "
                    

Adding the layer to this file allows the build system to build the BSP and find the layer along with other Metadata it needs.