[bitbake-devel,0/1] Add new option --environment-more

Submitted by Lianhao Lu on Feb. 23, 2012, 8:49 a.m.

Details

Message ID cover.1329986451.git.lianhao.lu@intel.com
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib llu/bitbake_showmore

Commit Message

Lianhao Lu Feb. 23, 2012, 8:49 a.m.
This patch adds a new option --environment-more to bitbake to display 
additional file dependency information. This kind of information can be used 
by other recipe editors, e.g. the Eclipse bitbake commander plugin, to decide 
when to reparse the recipes.

The following changes since commit d8b3718303c3d56394c722059f1a73bd79131d0a:
  Zhai Edwin (1):
        texi2html: Fix for multilib

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib llu/bitbake_showmore
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bitbake_showmore

Lianhao Lu (1):
  bitbake: Add new otpion --environment-more

 bitbake/bin/bitbake       |    3 +++
 bitbake/lib/bb/command.py |    6 ++++--
 bitbake/lib/bb/cooker.py  |   22 ++++++++++++++++++----
 scripts/bitbake           |    2 +-
 4 files changed, 26 insertions(+), 7 deletions(-)

Comments

Richard Purdie Feb. 23, 2012, 2:57 p.m.
On Thu, 2012-02-23 at 16:49 +0800, Lianhao Lu wrote:
> This patch adds a new option --environment-more to bitbake to display 
> additional file dependency information. This kind of information can be used 
> by other recipe editors, e.g. the Eclipse bitbake commander plugin, to decide 
> when to reparse the recipes.
> 
> The following changes since commit d8b3718303c3d56394c722059f1a73bd79131d0a:
>   Zhai Edwin (1):
>         texi2html: Fix for multilib
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib llu/bitbake_showmore
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bitbake_showmore
> 
> Lianhao Lu (1):
>   bitbake: Add new otpion --environment-more

Rather than add a new option specifically for this, I'm tempted just to
add the variables to the -e output...

The trouble is that variables starting "__" are considered internal use
by bitbake. Would it work if we merge __base_depends and __depends and
print this as some specific variable like BBINCLUDES ? I can imagine
that being useful elsewhere too and we don't expose the internal split
of the variable that way...

Cheers,

Richard
Lianhao Lu Feb. 24, 2012, 3:06 a.m.
Richard Purdie wrote on 2012-02-23:
> On Thu, 2012-02-23 at 16:49 +0800, Lianhao Lu wrote:
>> This patch adds a new option --environment-more to bitbake to display
>> additional file dependency information. This kind of information can be used
>> by other recipe editors, e.g. the Eclipse bitbake commander plugin, to decide
>> when to reparse the recipes.
>> 
>> The following changes since commit d8b3718303c3d56394c722059f1a73bd79131d0a:
>>   Zhai Edwin (1):
>>         texi2html: Fix for multilib
>> are available in the git repository at:
>> 
>>   git://git.pokylinux.org/poky-contrib llu/bitbake_showmore
>>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bitbake_showmore
>> Lianhao Lu (1):
>>   bitbake: Add new otpion --environment-more
> 
> Rather than add a new option specifically for this, I'm tempted just to
> add the variables to the -e output...
> 
> The trouble is that variables starting "__" are considered internal use
> by bitbake. Would it work if we merge __base_depends and __depends and
> print this as some specific variable like BBINCLUDES ? I can imagine
> that being useful elsewhere too and we don't expose the internal split
> of the variable that way...
> 

I added a new variable BBINCLUDES in the oe-core meta layer. Please ignore this one 
and see the patch in oe-core mailing list instead. 

Best Regards,
Lianhao