[poky] New warning

Gary Thomas gary at mlbassoc.com
Wed Jun 20 15:51:20 PDT 2012


On 2012-06-20 15:55, Khem Raj wrote:
> On Wed, Jun 20, 2012 at 12:12 PM, Gary Thomas<gary at mlbassoc.com>  wrote:
>> This happens when I have two intertwined layers - I have a recipe in layer1
>> which references a file satisfied only by layer2.
>
> why not move the reference from layer1 to layer2 as well ?

Layer1 holds the recipe and I find it more informative to have the
reference there - that way the .bbappends in layer2 _must_ define
it and the dependency is obvious since the recipe will fail without
this file being specified.

My use case is layer1 has a generic kernel recipe and layer2 (BSP)
has a platform specific patch for that kernel.  I have other use
cases, but this is indicative of how I view the layering.

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



More information about the poky mailing list