Thanks!The problem is that this two machines are the same, except only one configuration file. Bootloader files are build for two machines with the same image. Linux kernel is the same the small difference is in two separate DTS files only.
Everything else is the same.I don't like dirty hacks. If somebody knows the good way to set preference in non-root configuration files - please, advice me.
On 15.08.2017 17:38, Alexander Kanavin wrote:
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.htmlPREFERRED_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
<<attachment: dvorkin.vcf>>
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
