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

autif khan autif.mlist at gmail.com
Wed Dec 28 12:22:27 PST 2011


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"

Thanks for the help

Autif

On Wed, Dec 28, 2011 at 3:12 PM, Chris Larson <clarson at kergoth.com> wrote:
> 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