Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tom Rini <tom.rini@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] qemu.inc: Use '=' for IMAGE_FSTYPES
Date: Mon, 26 Mar 2012 09:25:31 -0700	[thread overview]
Message-ID: <20120326162531.GD21518@bill-the-cat> (raw)
In-Reply-To: <1332753313.28414.91.camel@ted>

On Mon, Mar 26, 2012 at 10:15:13AM +0100, Richard Purdie wrote:
> On Fri, 2012-03-23 at 10:35 -0700, Tom Rini wrote:
> > As per
> > http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019772.html
> > a machine conf file should use '=' to set IMAGE_FSTYPES.
> > 
> > Signed-off-by: Tom Rini <trini@ti.com>
> > ---
> >  meta/conf/machine/include/qemu.inc |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> As someone pointed out, what I mentioned in that email sadly doesn't
> work although it would be nice if they did. I suspect this is why we're
> using += since:

We aren't using += today.  We (openembedded-core) use ?=.  meta-intel
uses += and meta-ti is mixed (and I don't have meta-fsl-* handy).

> > - The machine needs to say 'I need or support the following formats'
> 
> so the machine ensures those formats exist at a minimum:
> 
> IMAGE_FSTYPES += "xxxx"
> 
> > - The distro needs to say 'I always want format X'
> 
> so the distro can do:
> 
> IMAGE_FSTYPES += " yyy"
> 
> > - The user needs to say 'I know best, give me only format X'
> 
> This one is the problem case so the user has to use overrides:
> 
> IMAGE_FSTYPES_override = "X"
> 
> (where override can be MACHINE or forcevariable)
> 
> > - The user needs to say 'I know best, give me what you support + X'
> 
> IMAGE_FSTYPES += " X"
> 
> 
> Whilst I think that is less than ideal since it forces use of overrides
> in local.conf to override, changing the += in machine conf files doesn't
> gain us much, it just breaks += in local.conf.
> 
> I'm open to other feedback though...

Well, I suggested ??= / ?= and posted some results from bitbake -e...

-- 
Tom



  reply	other threads:[~2012-03-26 16:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 17:35 [PATCH] qemu.inc: Use '=' for IMAGE_FSTYPES Tom Rini
2012-03-26  9:15 ` Richard Purdie
2012-03-26 16:25   ` Tom Rini [this message]
2012-03-26 16:56     ` Richard Purdie
2012-03-26 17:13       ` Tom Rini
2012-03-26 18:39         ` Darren Hart
2012-03-26 19:31         ` Denys Dmytriyenko
2012-03-28 18:54       ` Denys Dmytriyenko
2012-03-28 21:11         ` Richard Purdie
2012-03-28 23:29           ` Tom Rini
2012-03-29  9:51             ` Richard Purdie

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=20120326162531.GD21518@bill-the-cat \
    --to=tom.rini@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox