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"?
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.ja...@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@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core