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

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Aug 15 14:38:54 UTC 2017


On 08/15/2017 05:21 PM, Dvorkin Dmitry wrote:
> 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...


I think you can solve this by defining two machines: brdRevA and 
brdRevB. Then set PREFERRED_PROVIDER in the machine definitions.
And have just one recipe for the image.

You should not make image recipes hardware-specific anyway; any image 
recipe should work on any hardware, and details specific to the hardware 
are abstracted to the machine definition.

Alex



More information about the Openembedded-core mailing list