Bitbake Goals List

thanks for reading, I am working on a project where we create secimage (linux yocto image).

I am not familiar with all the tools that are used there, and I am not familiar with the technical conditions of use. So this question can be really really stupid, but I canโ€™t understand it with my life.

We have YOCTO ... something ... with all of these debian packages that we need on our (resulting) operating system, we use (we donโ€™t know if this is obvious) bitbake to create our image.

I know that we have ... goals ... for the bitbake team (for example, the goal is to create an image for production and the goal is to create an image for development purposes, they clearly differ in the installed packages, just mention one: gdb-server).

Since I entered this project later, I have no idea what they called these goals ... so I just want to know:

How can I get a list of goals ?

(I tried searching, but since I am not even familiar with all the technical terms for use, because I am not a developer for YOCTO, I just did not look for the right conditions)

I donโ€™t want to list the tasks , I just want to create a development image that I know is customized for him, I just donโ€™t know, know his name (and not one of my colleges is here, and they will not be soon).

EDIT

Davids seems the closest answer, but there are other ways in the comments ;-). Thank you all for your help, appreciated.

+7
bitbake yocto
source share
2 answers

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

bitbake-layers show-recipes 

If you want only recipes for your image, follow these steps:

 bitbake-layers show-recipes "<image_name>" 
+9
source share

Other SDKs often use a custom script to set up the build environment for yocto (this mainly applies to oe-init-build-env from yocto anyway).

I took a script installation fragment from Freescale SDK 1.9 ( fsl-setup-env ) and created a script to display images. It may be similar to this:

get-images.sh :

 # top level directory of your yocto project POKYROOTDIR=/home/poky echo "Images:" for i in `ls $POKYROOTDIR/meta*/recipes-*/images/*.bb 2>/dev/null`;do i=`basename $i`;i=`echo $i |sed -e 's,^\(.*\)\.bb,\1,'` echo " $i"; done 

This is based on the assumption that each recipe is placed in the images directory, which should be conditional.

+1
source share

All Articles