[poky] Distro policy ?

Matt Madison madison at cisco.com
Thu Apr 14 16:00:35 PDT 2011


How about when it's the other way round -- you need to modify just the .inc
for your layer, and not the recipes that require/include them?  Should all
recipes in the core be changed to use the path name syntax to enable that?

Thanks,
-Matt


On 4/14/11 14:43 , "Joshua Lock" <josh at linux.intel.com> wrote:

> On Thu, 2011-04-14 at 21:44 +0200, Wolfgang Denk wrote:
>> HI,
>> 
>> we're trying to build our own distribution based on Yocto 1.0.  We
>> would like to push all modifications / extensions and our distro stuff
>> upstream into the mainline repository, but we are not sure what is the
>> best way to do this:
>> 
>> So far we have put our distro-related changes into a separate layer
>> but it seems that it was not so good idea: it looks like bitbake
>> can't include files from one layer to another and we have to copy
>> includes even if we don't want to change them.
> 
> You can you just have to use a path from the top of the BBPATH entry for
> the layer you're using, so in our meta-demo layer I've used entries
> like:
> 
> require recipes-graphics/clutter/clutter.inc
> 
> to use an inc file from meta in Poky.
> 
> Cheers,
> Joshua




More information about the poky mailing list