All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: Dvorkin Dmitry <dvorkin@tibbo.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: two recipes, one replaces files of another
Date: Tue, 15 Aug 2017 17:38:54 +0300	[thread overview]
Message-ID: <3eba804b-52e7-4f1d-7b9d-705731d36ccd@linux.intel.com> (raw)
In-Reply-To: <a8241b56-7927-fba3-70eb-296125f7b8c3@tibbo.com>

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


  reply	other threads:[~2017-08-15 14:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25  9:59 [PATCH] image.bbclass: delete DATE variable too Stefan Agner
2017-08-11  3:31 ` ✗ patchtest: failure for " Patchwork
2017-08-15 10:37 ` two recipes, one replaces files of another Dvorkin Dmitry
2017-08-15 10:59   ` Alexander Kanavin
2017-08-15 14:21     ` Dvorkin Dmitry
2017-08-15 14:38       ` Alexander Kanavin [this message]
2017-08-18  6:16         ` Dvorkin Dmitry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3eba804b-52e7-4f1d-7b9d-705731d36ccd@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=dvorkin@tibbo.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.