[OE-core] two recipes, one replaces files of another

Dvorkin Dmitry dvorkin at tibbo.com
Tue Aug 15 14:21:56 UTC 2017


Thank you, Alexander!

But according to this

https://lists.yoctoproject.org/pipermail/yocto/2013-January/011855.html

PREFERRED_PROVIDER_... can't be used in image recipes, only at top-level 
configuration files.

I can't make it work...


On 15.08.2017 13:59, Alexander Kanavin wrote:
> On 08/15/2017 01:37 PM, Dvorkin Dmitry wrote:
>> How to create dependencies correctly?
>> I try to add
>> RPROVIDES_${PN} += "recipe-brd" in both recipe-brdRevA/B  and use 
>> PREFERRED_PROVIDER_recipe-brd = "..."
>> into imgA/B.bb without success.
>
> PREFERRED_PROVIDER is the right way to go. That's how a kernel variant 
> is selected from multiple choices (regular, tiny, real time) for 
> example - have a look at how it's done.
>
> Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvorkin.vcf
Type: text/x-vcard
Size: 304 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170815/a24d0a04/attachment-0002.vcf>


More information about the Openembedded-core mailing list