[yocto] How to list all of the .bb and .bbappend files used to build a specific package with bitbake?

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jun 8 03:23:03 PDT 2015


On Sunday 07 June 2015 06:40:10 Gary Thomas wrote:
> On 2015-06-07 03:49, Roberto Saltini wrote:
> > Let's consider the package "virtual/kernel". I would like to know which
> > .bb and .bbappend files are involved in building this package.> 
> > I know that I can get the package name through:
> >     bitbake -e virtual/kernel | grep ^BP=
> > 
> > This command gives me the name of the package used to build virtual/kernel
> > that in my case is |linux-fslc-4.0+gitAUTOINC+19ebefd40a|. However, I do
> > not know how to get the list of .bb and .bbappend files (with their
> > location included) used to build the
> > |linux-fslc-4.0+gitAUTOINC+19ebefd40a| package.
> Use
>    find <LAYERS> -name "*.bb*"
> where <LAYERS> are the directories holding your layers.

FYI you can get a slightly more concise and accurate list of recipes from 
bitbake-layers:

 bitbake-layers show-recipes

and for the bbappends:

 bitbake-layers show-appends

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list