[yocto] How to require image recipe from another layer?

Chris Larson clarson at kergoth.com
Wed Dec 28 12:31:20 PST 2011


On Wed, Dec 28, 2011 at 1:22 PM, autif khan <autif.mlist at gmail.com> wrote:
> Thats right. Accounting for the relative, path, the following recipe
> seems to works.
>
> require ../../../meta/recipes-sato/images/core-image-sato.bb
> IMAGE_FEATURES += "helloworld"


That's not what I was referring to. You don't need the full relative
path. It will automatically search BBPATH if you require a relative
path. if you do require recipes-sato/images/core-image-sato.bb, it
will search your layers and find it.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the yocto mailing list