All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] task-base: conditional wifi and bluetooth tasks in PACKAGES
Date: Wed, 09 Feb 2011 08:01:17 -0700	[thread overview]
Message-ID: <4D52AC3D.4050906@mentor.com> (raw)
In-Reply-To: <iiu4qb$8st$1@dough.gmane.org>

On 02/09/2011 06:28 AM, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 09-02-11 13:59, Filip Zyzniewski wrote:
>> On 2/9/11, Marcin Juszkiewicz<marcin@juszkiewicz.com.pl>  wrote:
>>
>>> This change is bogus. You just remove building of BT/Wifi support for
>>> "bitbake
>>> bootstrap-image" for your machine not distro. Use DISTRO_FEATURES instead
>>> and
>>> then remove "bluetooth wifi" from DISTRO_FEATURES in your distribution
>>> config
>>> file.
>>
>> The whole point of this patch is to make task-base honour features.
>> Without this change bluez (and in consequence avahi, gstreamer, gtk, x
>> libs) gets built regardless of features setting.
>
> That's the whole point of task-base, to get things built. You can then
> use machine_features to install them by default or not.
>
> Again, noone is forcing you to use task-base, so no need to break it for
> everyone else like your patch is doing.

But it's also kinda annoying when you opt out of task-base.

So let me put on the apparently stupid hat today.  Looking at task-base 
today.  PACKAGES always has task-base-{wifi,bluetooth}.  task-base will 
RDEPEND on it iff DISTRO and MACHINE set the appropriate feature.  Then 
in task-base-extended RDEPENDS we have logic to do the common $bus I/O 
thing I was talking about.

So... wouldn't making the patch be DISTRO_FEATURES rather than 
MACHINE_FEATURES be what people want?

-- 
Tom Rini
Mentor Graphics Corporation



  parent reply	other threads:[~2011-02-09 15:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-07 22:13 [PATCH] task-base: conditional wifi and bluetooth tasks in PACKAGES Filip Zyzniewski
2011-02-08 17:29 ` Tom Rini
2011-02-08 18:16   ` Mike Westerhof
2011-02-08 18:23   ` Koen Kooi
2011-02-08 20:39     ` Filip Zyzniewski
2011-02-08 21:04       ` Koen Kooi
2011-02-08 21:22         ` Filip Zyzniewski
2011-02-08 21:25         ` Tom Rini
2011-02-08 21:30           ` Tom Rini
2011-02-09  9:17         ` Filip Zyzniewski
2011-02-08 20:59     ` Douglas Royds
2011-02-08 21:08     ` Eric Bénard
2011-02-08 22:16       ` Koen Kooi
2011-02-08 22:18         ` Eric Bénard
2011-02-09  6:05         ` Filip Zyzniewski
2011-02-09  9:39 ` Marcin Juszkiewicz
2011-02-09 12:59   ` Filip Zyzniewski
2011-02-09 13:28     ` Koen Kooi
2011-02-09 13:43       ` Filip Zyzniewski
2011-02-09 15:01       ` Tom Rini [this message]
2011-02-09 15:22         ` Phil Blundell
2011-02-09 15:46           ` Tom Rini

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=4D52AC3D.4050906@mentor.com \
    --to=tom_rini@mentor.com \
    --cc=openembedded-devel@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.