From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES
Date: Tue, 30 Jul 2013 11:59:32 +0100 [thread overview]
Message-ID: <14478313.i1FmA8Di2T@helios> (raw)
In-Reply-To: <1375136787-18139-1-git-send-email-otavio@ossystems.com.br>
On Monday 29 July 2013 19:26:27 Otavio Salvador wrote:
> This allow the addition and removal of distro features easily. To add
> a feature, use:
>
> EXTRA_DISTRO_FEATURES += "wayland"
>
> and to remove, use '~' prefix, as:
>
> EXTRA_DISTRO_FEATURES += "~x11"
>
> This code has been mostly copied from Mentor Graphics public layer but
> changed the variable name for a more descriptive name.
1) Isn't this just adding list subtraction via the back door, which Richard
has already argued against (mostly because the interaction between it and
_append/_prepend will be hard to predict)?
2) Why not just set DISTRO_FEATURES to contain just the items you want in your
distro configuration instead of trying to add and subtract from some previous
value? What if the previous value changes in a way that no longer fits your
desired configuration? Surely it is better to just be explicit.
3) Even if we were to add this here wouldn't users expect this to work in all
such variables and not just DISTRO_FEATURES?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-07-30 10:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 22:26 [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES Otavio Salvador
2013-07-29 22:35 ` Otavio Salvador
2013-07-29 22:35 ` Otavio Salvador
2013-07-29 22:57 ` Rogerio Nunes
2013-07-29 22:57 ` [OE-core] " Rogerio Nunes
2013-07-30 5:27 ` Abhijit Potnis
2013-07-30 10:59 ` Paul Eggleton [this message]
2013-07-30 12:00 ` Otavio Salvador
2013-07-30 12:14 ` Phil Blundell
2013-07-30 12:24 ` Otavio Salvador
2013-07-30 14:46 ` Mark Hatle
2013-07-30 15:09 ` Paul Eggleton
2013-07-30 15:37 ` Mark Hatle
2013-07-30 15:19 ` Phil Blundell
2013-07-30 15:43 ` Mark Hatle
2013-07-30 16:05 ` Phil Blundell
2013-07-30 21:00 ` Otavio Salvador
2013-07-30 21:01 ` Otavio Salvador
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=14478313.i1FmA8Di2T@helios \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
/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.