[poky] require statement does not honor .bbappend

Gary Thomas gary at mlbassoc.com
Fri Feb 3 05:27:51 PST 2012


On 2012-02-03 03:07, Richard Purdie wrote:
> On Thu, 2012-02-02 at 16:22 -0700, Gary Thomas wrote:
>> This is really a bitbake problem, but I'll bring it up here.
>>
>> I have a statement like this in one of my recipes:
>>      require xyz.bb
>>
>> If I also have within my layers a xyz.bbappend file, it gets
>> processed when I build xyz, e.g.
>>     % bitbake xyz
>> but is ignored when I only 'require' that recipe.
>>
>> Should it not be always processed?
>
> No, as designed and implemented you can't bbappend to anything being
> used as an include (or require), only the final .bb file.

Bummer.  What's the rationale behind this [restriction]?

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



More information about the poky mailing list