yoctobitbake

Bitbake list of targets


I am working in a project where we create a secimage (linux yocto image).

I am not familiar with all the tools used there and neither am I familiar with the technical terms to use and cannot figure it out by the life of mine.

We have a YOCTO ...something... with recipes (Debian packages) we need on our (resulting) Operating system, we use (don't know if this is obvious) bitbake to build our image.

I know that we have some ...targets... for the bitbake command. For example, a target for building the image for production and a target for building the image for development purposes. They obviously differ in the packages installed, just to mention one: gdb-server.

Since I came into this project later on, I have no idea how they named those targets... so I just want to know:

How can I get a list of targets?

I tried searching but since I am not even familiar with all the technical terms to use, because I am not a developer for YOCTO, I may just not search for the right terms.

I do not want to list the tasks, I just want to make a development image, which I know there is a target configured for it, I just don't know its name..


Solution

  • You can easily list all the targets/recipes (.bb files) in your workspace doing:

    bitbake-layers show-recipes
    

    If you want only the recipes for your image, do:

    bitbake-layers show-recipes "<image_name>"