All of lore.kernel.org
 help / color / mirror / Atom feed
* gettext.bb question
@ 2012-05-09 21:39 Chris Tapp
  2012-05-09 22:52 ` Saul Wold
  2012-05-10  3:26 ` Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Tapp @ 2012-05-09 21:39 UTC (permalink / raw)
  To: Yocto Project

Looking at gettext_0.18.1.1.bb in 7.0.0 I see:

PROVIDES = "virtual/libintl virtual/gettext"
PROVIDES_virtclass-native = "virtual/gettext-native"

makes sense so far. However, I also see:

DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"

What does -native in the DEPENDS= 'do' here?

Chris Tapp

opensource@keylevel.com
www.keylevel.com





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

* Re: gettext.bb question
  2012-05-09 21:39 gettext.bb question Chris Tapp
@ 2012-05-09 22:52 ` Saul Wold
  2012-05-10  3:26 ` Khem Raj
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-05-09 22:52 UTC (permalink / raw)
  To: Chris Tapp; +Cc: Yocto Project

On 05/09/2012 02:39 PM, Chris Tapp wrote:
> Looking at gettext_0.18.1.1.bb in 7.0.0 I see:
>
> PROVIDES = "virtual/libintl virtual/gettext"
> PROVIDES_virtclass-native = "virtual/gettext-native"
>
> makes sense so far. However, I also see:
>
> DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
> DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
>
> What does -native in the DEPENDS= 'do' here?
>
It sets the DEPENDS correctly for the gettext-native build, gettext uses 
BB_CLASSEXTEND and that would normally look at the DEPENDS line and 
automagically add -native to that list, we don't want to do that in this 
case so it's hard coded.

Sau!

> Chris Tapp
>
> opensource@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


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

* Re: gettext.bb question
  2012-05-09 21:39 gettext.bb question Chris Tapp
  2012-05-09 22:52 ` Saul Wold
@ 2012-05-10  3:26 ` Khem Raj
  2012-05-10 19:05   ` Chris Tapp
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2012-05-10  3:26 UTC (permalink / raw)
  To: Chris Tapp; +Cc: Yocto Project

On Wed, May 9, 2012 at 2:39 PM, Chris Tapp <opensource@keylevel.com> wrote:
>
> DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
> DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
>
> What does -native in the DEPENDS= 'do' here?

there is a bit of optimization here to parallelize the build where
gettext-minimal-native is now used otherwise
gettext becomes serialization point for build

You should also look at gettext.bbclass when you are
looking into understanding gettext dependencies


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

* Re: gettext.bb question
  2012-05-10  3:26 ` Khem Raj
@ 2012-05-10 19:05   ` Chris Tapp
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Tapp @ 2012-05-10 19:05 UTC (permalink / raw)
  To: Yocto Project


On 10 May 2012, at 04:26, Khem Raj wrote:

> On Wed, May 9, 2012 at 2:39 PM, Chris Tapp <opensource@keylevel.com> wrote:
>> 
>> DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat"
>> DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native"
>> 
>> What does -native in the DEPENDS= 'do' here?
> 
> there is a bit of optimization here to parallelize the build where
> gettext-minimal-native is now used otherwise
> gettext becomes serialization point for build
> 
> You should also look at gettext.bbclass when you are
> looking into understanding gettext dependencies


Thanks Khem / Saul,

That makes sense.

Chris Tapp

opensource@keylevel.com
www.keylevel.com





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

end of thread, other threads:[~2012-05-10 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-09 21:39 gettext.bb question Chris Tapp
2012-05-09 22:52 ` Saul Wold
2012-05-10  3:26 ` Khem Raj
2012-05-10 19:05   ` Chris Tapp

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.