[yocto] Sharing .inc recipe across layers

Christopher Larson clarson at kergoth.com
Tue Nov 17 05:51:57 PST 2015


On Tue, Nov 17, 2015 at 6:26 AM, Vuille, Martin (Martin) <vmartin at avaya.com>
wrote:

> What is the best way to refer to (require) a .inc recipe
>
> in one layer from another layer?
>

Use the relative path from the top of the layer. I.e. require
recipes-foo/bar/baz.inc, and bitbake will search BBPATH (the layer paths)
to find it.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151117/4f20b12c/attachment.html>


More information about the yocto mailing list