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

Phil Blundell philb at gnu.org
Mon Oct 3 15:02:10 UTC 2011


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.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)}"






More information about the Openembedded-core mailing list