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

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


On Wed, Dec 28, 2011 at 1:06 PM, autif khan <autif.mlist at gmail.com> wrote:
> I have the following problem and I am not sure how to resolve it.
>
> I have created my own layer (say) meta-autif
>
> In the layer - I have my recipes (say) helloworld, many more may be
>
> Now I want to add these packages to the core-image-sato recipe for the
> image. This recipe resides in meta layer (under recipes-sato/images)
>
> I have the following recipe (say) core-image-autif.bb
>
> require core-image-sato.bb
> IMAGE_FEATURES += "helloworld"

You want something like:

require recipes-core/images/core-image-sato.bb
-- 
Christopher Larson



More information about the yocto mailing list