Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbake list of targets

Tags:

yocto

bitbake

thx for reading, 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. So this question may be just really really stupid, but I cannot figure it out by the life of mine.

We have a YOCTO ...something... with all those 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 (e.g. 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, cause I am not a developer for YOCTO, I may just did 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 (and none of my colleges are here, nor will they be any time soon).

EDIT

Davids answer seems to be the closest, but there are some other ways in the comments ;-). THX all for your help, appreciated.

like image 243
MDeero Avatar asked Jun 10 '16 07:06

MDeero


People also ask

What does BitBake command do?

The bitbake command builds platform projects, application source, and packages. BitBake is the overall control program, which manages builds of all the packages and of the overall system. It builds platform projects, application source, and packages.

What is BitBake option?

BitBake is a make-like build tool with the special focus of distributions and packages for embedded Linux cross compilation although it is not limited to that. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution.

What is poky and BitBake?

Poky is platform-independent and performs cross-compiling, using Bitbake Tool, OpenEmbedded Core, and a default set of metadata. The main objective of Poky is to provide all the features an embedded developer needs. Bitbake is a task scheduler that parses Python and Shell script mixed code, which we called Recipes.


1 Answers

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>" 
like image 155
David Bensoussan Avatar answered Oct 05 '22 17:10

David Bensoussan