All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange dependency
@ 2016-04-25 13:06 Gary Thomas
  2016-04-27  2:30 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2016-04-25 13:06 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I have a distribution which normally includes x11.  I just
ran a build with
   DISTRO_FEATURES_remove = "x11 wayland"

Why on earth did this require qemu-native to be rebuilt?
One would think that qemu-native would be independent of the
DISTRO_FEATURES??

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange dependency
  2016-04-25 13:06 Strange dependency Gary Thomas
@ 2016-04-27  2:30 ` Paul Eggleton
  2016-04-27  7:49   ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2016-04-27  2:30 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

Hi Gary,

On Mon, 25 Apr 2016 15:06:14 Gary Thomas wrote:
> I have a distribution which normally includes x11.  I just
> ran a build with
>    DISTRO_FEATURES_remove = "x11 wayland"
> 
> Why on earth did this require qemu-native to be rebuilt?
> One would think that qemu-native would be independent of the
> DISTRO_FEATURES??

Looking at meta/recipes-devtools/qemu/qemu.inc it is explicitly looking at 
DISTRO_FEATURES for the native class. That seems wrong to me as well, but I 
would be surprised if it were the only place we were referring to 
DISTRO_FEATURES in the native context (especially implicitly - consider the 
defaults for PACKAGECONFIG in various recipes where we initialise it based on 
DISTRO_FEATURES and don't provide a special default for native). I guess it's 
something that someone will need to go through and clean up at some point.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange dependency
  2016-04-27  2:30 ` Paul Eggleton
@ 2016-04-27  7:49   ` Burton, Ross
  0 siblings, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2016-04-27  7:49 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto@yoctoproject.org, Gary Thomas

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

On 27 April 2016 at 03:30, Paul Eggleton <paul.eggleton@linux.intel.com>
wrote:

> Looking at meta/recipes-devtools/qemu/qemu.inc it is explicitly looking at
> DISTRO_FEATURES for the native class. That seems wrong to me as well, but I
> would be surprised if it were the only place we were referring to
> DISTRO_FEATURES in the native context (especially implicitly - consider the
> defaults for PACKAGECONFIG in various recipes where we initialise it based
> on
> DISTRO_FEATURES and don't provide a special default for native). I guess
> it's
> something that someone will need to go through and clean up at some point.
>

Ah, that was a bit of cleanup I failed to do.  qemu.inc has a
PACKAGECONFIG_class-native to hardcode the options and not respect distro
features, but there were some dependencies that are picked based on
DISTRO_FEATURES.  This was a workaround for the previous odd linking, so
can be removed now.

Ross

[-- Attachment #2: Type: text/html, Size: 1359 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 13:06 Strange dependency Gary Thomas
2016-04-27  2:30 ` Paul Eggleton
2016-04-27  7:49   ` Burton, Ross

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.