All of lore.kernel.org
 help / color / mirror / Atom feed
* How to list all of the .bb and .bbappend files used to build a specific package with bitbake?
@ 2015-06-07  9:49 Roberto Saltini
  2015-06-07 12:40 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Roberto Saltini @ 2015-06-07  9:49 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

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.


-- 
R.

[-- Attachment #2: Type: text/html, Size: 758 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to list all of the .bb and .bbappend files used to build a specific package with bitbake?
  2015-06-07  9:49 How to list all of the .bb and .bbappend files used to build a specific package with bitbake? Roberto Saltini
@ 2015-06-07 12:40 ` Gary Thomas
  2015-06-08 10:23   ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2015-06-07 12:40 UTC (permalink / raw)
  To: yocto

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.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to list all of the .bb and .bbappend files used to build a specific package with bitbake?
  2015-06-07 12:40 ` Gary Thomas
@ 2015-06-08 10:23   ` Paul Eggleton
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2015-06-08 10:23 UTC (permalink / raw)
  To: Roberto Saltini; +Cc: yocto, Gary Thomas

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-08 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-07  9:49 How to list all of the .bb and .bbappend files used to build a specific package with bitbake? Roberto Saltini
2015-06-07 12:40 ` Gary Thomas
2015-06-08 10:23   ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.