[OE-core] [oe-core][PATCHv2 26/30] glx-use-tls: add from meta-oe layer

Martin Jansa martin.jansa at gmail.com
Mon Oct 3 15:09:04 UTC 2011


On Mon, Oct 03, 2011 at 04:02:10PM +0100, Phil Blundell wrote:
> Can you add some commentary explaining why this is necessary -- i.e.
> what exactly is lacking in uClibc to mean it doesn't have "prober TLS
> support"?

I'm not using uClibc myself and tracking original bbclass in OE-classic
leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767

So I'm CCing woglinde and he will probably explain it.

Regards,

> 
> p.
> 
> On Mon, 2011-10-03 at 15:28 +0200, Martin Jansa wrote:
> > * it's in .bbclass instead of .inc because it's used by mesa and
> >   xserver-xf86 recipes
> > 
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  meta/classes/glx-use-tls.bbclass |    7 +++++++
> >  1 files changed, 7 insertions(+), 0 deletions(-)
> >  create mode 100644 meta/classes/glx-use-tls.bbclass
> > 
> > diff --git a/meta/classes/glx-use-tls.bbclass b/meta/classes/glx-use-tls.bbclass
> > new file mode 100644
> > index 0000000..7530872
> > --- /dev/null
> > +++ b/meta/classes/glx-use-tls.bbclass
> > @@ -0,0 +1,7 @@
> > +def get_tls_setting(bb, d):
> > +    # until we have no prober TLS support in uclibc disable it
> > +    if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 :
> > +        return ""
> > +    return "--enable-glx-tls"
> > +
> > +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111003/0d82284a/attachment-0002.sig>


More information about the Openembedded-core mailing list