[OE-core] [oe-core][PATCH 12/13] glx-use-tls: add from meta-oe layer
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Sep 30 11:15:09 UTC 2011
On Fri, 2011-09-30 at 09:27 +0200, Martin Jansa wrote:
> 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)}"
How many recipes actually use this? Shouldn't it really be a mesa
include file?
Cheers,
Richard
More information about the Openembedded-core
mailing list