diff options
author | Michael Smith <msmith@cbnco.com> | 2009-07-13 15:07:18 -0400 |
---|---|---|
committer | Michael Smith <msmith@cbnco.com> | 2009-08-24 12:29:58 -0400 |
commit | dfe2bb428bb6db6938859927a8004caa167b96a8 (patch) | |
tree | 8abde5e5408531d68e0635f4f6c7679c6910243a /classes | |
parent | dc929c2ebce4bd676cf725f9972de9604ed2db4d (diff) |
mesa-dri: move tls configure logic to a class
Will allow reuse by xorg-xserver.
Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/glx-use-tls.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/glx-use-tls.bbclass b/classes/glx-use-tls.bbclass new file mode 100644 index 0000000000..7530872fa4 --- /dev/null +++ b/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)}" |