[OE-core] two recipes, one replaces files of another
Dvorkin Dmitry
dvorkin at tibbo.com
Tue Aug 15 10:37:45 UTC 2017
Good time of day, people!
I have two recipes for two cases:
recipe-brdRevA.bb
recipe-brdRevB.bb
both of them has one file:
/etc/myprog/c.conf
and two image definition files:
imgA.bb
imgB.bb
, that requires recipe-brdRevA.bb or recipe-brdRevB.bb indirectly by
IMAGE_INSTALL += "myprog"
myprog.bb requires files from recipe-brdRevA or recipe-brdRevB,
depending on image.
It's not a correct idea to add IMAGE_INSTALL += "recipe-brdRev<N>" into
img<N>.bb explicitely.
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.
Please, advice me.
-------------- 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/1e0d9f3e/attachment-0002.vcf>
More information about the Openembedded-core
mailing list