Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Proposal: recipe feature switches
Date: Fri, 01 Jul 2011 12:08:06 +0100	[thread overview]
Message-ID: <1309518486.2633.54.camel@phil-desktop> (raw)
In-Reply-To: <BANLkTi=ptn9KrXjdfzu62BWJ0XZPFtcGOQ@mail.gmail.com>

On Fri, 2011-07-01 at 12:53 +0200, Andrea Adami wrote:
> Now, the detractors have argued that those flags would be a nightmare
> for people packaging feeds, with no way for the package manager to
> detect those different recipes with the same name.

That does indeed come up frequently but I think this objection is
misplaced.  The people building the feeds just need to make sure that
their particular DISTRO is using a consistent set of flags and refrain
from changing them capriciously in places like local.conf.

Or, to look at it from another perspective, there are already plenty of
ways in which you can generate two .ipk files with the same name but
different/incompatible contents by changing the contents of your
configuration files.  (For example, a DISTRO can already clobber
EXTRA_OECONF_pn-foo in any way that it wants by using an override.)
It's not at all obvious that introducing per-recipe USE flags would make
things any worse in that respect.

I think Chris's proposal is basically a good one.  In one sense it's
just syntactic sugar, since (as above) it doesn't actually allow you to
do anything that you couldn't already achieve by other means, but it
certainly makes it neater.

p.




      reply	other threads:[~2011-07-01 11:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 17:10 Proposal: recipe feature switches Chris Elston
2011-06-30 22:14 ` Richard Purdie
2011-07-01  8:55   ` Frans Meulenbroeks
2011-07-01  9:09     ` Koen Kooi
2011-07-01  9:26       ` Frans Meulenbroeks
2011-07-01  9:32         ` Frans Meulenbroeks
2011-07-01  9:41         ` Koen Kooi
2011-07-01 10:19           ` Frans Meulenbroeks
2011-07-01 10:25             ` Phil Blundell
2011-07-06 17:53           ` Tom Rini
2011-07-07  6:42             ` Koen Kooi
2011-07-07  6:52             ` Anders Darander
2011-07-01 10:27   ` Chris Elston
2011-07-01 10:53     ` Andrea Adami
2011-07-01 11:08       ` Phil Blundell [this message]

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=1309518486.2633.54.camel@phil-desktop \
    --to=pb@pbcl.net \
    --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