Openembedded Core Discussions
 help / color / mirror / Atom feed
* EXCLUDE_FROM_WORLD
@ 2012-07-26 18:45 Slater, Joseph
  2012-07-26 18:56 ` EXCLUDE_FROM_WORLD Chris Larson
  2012-07-26 19:07 ` EXCLUDE_FROM_WORLD Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Slater, Joseph @ 2012-07-26 18:45 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

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

Hi all,

Could somebody clarify excluding things from world?  I see EXCLUDE_FROM_WORLD = "1" in
many places, including libx11.inc, and I'm sure there's plenty of libx11 stuff in world.

I also see package specific exclusions in world-broken.inc.

If one wants to exclude items for a particular bsp, would it be best to put exclusions
in a conf file for the bsp, or to put exclusions in another conf file in the form of

EXCLUDE_FROM_WORLD_pn-whatever_bsp-name = "1"

Oh, and is it necessary to exclude things on a recipe-by-recipe basis?

Thanks,

Joe


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

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

* Re: EXCLUDE_FROM_WORLD
  2012-07-26 18:45 EXCLUDE_FROM_WORLD Slater, Joseph
@ 2012-07-26 18:56 ` Chris Larson
  2012-07-26 19:07 ` EXCLUDE_FROM_WORLD Richard Purdie
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Larson @ 2012-07-26 18:56 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, Jul 26, 2012 at 11:45 AM, Slater, Joseph
<joe.slater@windriver.com> wrote:
> Could somebody clarify excluding things from world?  I see
> EXCLUDE_FROM_WORLD = "1" in
>
> many places, including libx11.inc, and I'm sure there's plenty of libx11
> stuff in world.
>
> I also see package specific exclusions in world-broken.inc.
>
> If one wants to exclude items for a particular bsp, would it be best to put
> exclusions
>
> in a conf file for the bsp, or to put exclusions in another conf file in the
> form of

"exclude items for a particular bsp" makes it sound like you're
confused about what EXCLUDE_FROM_WORLD does. The only thing it affects
is when you run 'bitbake world' to build every recipe/provide that
exists.
-- 
Christopher Larson



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

* Re: EXCLUDE_FROM_WORLD
  2012-07-26 18:45 EXCLUDE_FROM_WORLD Slater, Joseph
  2012-07-26 18:56 ` EXCLUDE_FROM_WORLD Chris Larson
@ 2012-07-26 19:07 ` Richard Purdie
  2012-07-26 20:16   ` EXCLUDE_FROM_WORLD Slater, Joseph
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2012-07-26 19:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-07-26 at 18:45 +0000, Slater, Joseph wrote:
> Could somebody clarify excluding things from world?  I see
> EXCLUDE_FROM_WORLD = "1" in
>
> many places, including libx11.inc, and I'm sure there's plenty of
> libx11 stuff in world.

The issue is that there are multiple providers of libx11 and when you
bitbake world, we don't want them all to build. For that reason it gets
excluded and then the correct version will get built as needed.

There are plans afoot to merge those different libx11 recipes at which
point the exclude from world will get dropped.

> I also see package specific exclusions in world-broken.inc.

This was originally a list of known problematic packages and used to be
quite large. Looking at the list:

gobject-introspection: Totally broken recipe, I'm tempted to delete it.
eds-tools: Again, I'm tempted to delete the recipe
clutter-box2d: This should build, not sure why its on the broken list.

Chris replied about the other bits...

Cheers,

Richard





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

* Re: EXCLUDE_FROM_WORLD
  2012-07-26 19:07 ` EXCLUDE_FROM_WORLD Richard Purdie
@ 2012-07-26 20:16   ` Slater, Joseph
  2012-07-26 20:35     ` EXCLUDE_FROM_WORLD Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Slater, Joseph @ 2012-07-26 20:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer



> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> bounces@lists.openembedded.org] On Behalf Of Richard Purdie
> Sent: Thursday, July 26, 2012 12:07 PM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] EXCLUDE_FROM_WORLD
> 
> On Thu, 2012-07-26 at 18:45 +0000, Slater, Joseph wrote:
> > Could somebody clarify excluding things from world?  I see
> > EXCLUDE_FROM_WORLD = "1" in
> >
> > many places, including libx11.inc, and I'm sure there's plenty of
> > libx11 stuff in world.
> 
> The issue is that there are multiple providers of libx11 and when you
> bitbake world, we don't want them all to build. For that reason it gets
> excluded and then the correct version will get built as needed.
> 
> There are plans afoot to merge those different libx11 recipes at which
> point the exclude from world will get dropped.
> 
> > I also see package specific exclusions in world-broken.inc.
> 
> This was originally a list of known problematic packages and used to be
> quite large. Looking at the list:
> 
> gobject-introspection: Totally broken recipe, I'm tempted to delete it.
> eds-tools: Again, I'm tempted to delete the recipe
> clutter-box2d: This should build, not sure why its on the broken list.

Thanks for the clarifications.  I would think that there would be packages
that you'd want to exclude conditionally.  Like i-only-build-for-x86.bb would
not be part of world for ppc builds.  Maybe such packages just cannot ever
be in world, or maybe we do something where EXCLUDE_FROM_WORLD gets computed
from, say, MACHINE_FEATURES?

Joe

> 
> Chris replied about the other bits...
> 
> Cheers,
> 
> Richard
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: EXCLUDE_FROM_WORLD
  2012-07-26 20:16   ` EXCLUDE_FROM_WORLD Slater, Joseph
@ 2012-07-26 20:35     ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-07-26 20:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2012-07-26 at 20:16 +0000, Slater, Joseph wrote:
> 
> > -----Original Message-----
> > From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-
> > bounces@lists.openembedded.org] On Behalf Of Richard Purdie
> > Sent: Thursday, July 26, 2012 12:07 PM
> > To: Patches and discussions about the oe-core layer
> > Subject: Re: [OE-core] EXCLUDE_FROM_WORLD
> > 
> > On Thu, 2012-07-26 at 18:45 +0000, Slater, Joseph wrote:
> > > Could somebody clarify excluding things from world?  I see
> > > EXCLUDE_FROM_WORLD = "1" in
> > >
> > > many places, including libx11.inc, and I'm sure there's plenty of
> > > libx11 stuff in world.
> > 
> > The issue is that there are multiple providers of libx11 and when you
> > bitbake world, we don't want them all to build. For that reason it gets
> > excluded and then the correct version will get built as needed.
> > 
> > There are plans afoot to merge those different libx11 recipes at which
> > point the exclude from world will get dropped.
> > 
> > > I also see package specific exclusions in world-broken.inc.
> > 
> > This was originally a list of known problematic packages and used to be
> > quite large. Looking at the list:
> > 
> > gobject-introspection: Totally broken recipe, I'm tempted to delete it.
> > eds-tools: Again, I'm tempted to delete the recipe
> > clutter-box2d: This should build, not sure why its on the broken list.
> 
> Thanks for the clarifications.  I would think that there would be packages
> that you'd want to exclude conditionally.  Like i-only-build-for-x86.bb would
> not be part of world for ppc builds.  Maybe such packages just cannot ever
> be in world, or maybe we do something where EXCLUDE_FROM_WORLD gets computed
> from, say, MACHINE_FEATURES?

For those we have COMPATIBLE_MACHINE and COMPATIBLE_HOST.

Cheers,

Richard




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

end of thread, other threads:[~2012-07-26 20:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 18:45 EXCLUDE_FROM_WORLD Slater, Joseph
2012-07-26 18:56 ` EXCLUDE_FROM_WORLD Chris Larson
2012-07-26 19:07 ` EXCLUDE_FROM_WORLD Richard Purdie
2012-07-26 20:16   ` EXCLUDE_FROM_WORLD Slater, Joseph
2012-07-26 20:35     ` EXCLUDE_FROM_WORLD Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox