summaryrefslogtreecommitdiff
path: root/recipes/mesa
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-07-13 15:07:18 -0400
committerMichael Smith <msmith@cbnco.com>2009-08-24 12:29:58 -0400
commitdfe2bb428bb6db6938859927a8004caa167b96a8 (patch)
tree8abde5e5408531d68e0635f4f6c7679c6910243a /recipes/mesa
parentdc929c2ebce4bd676cf725f9972de9604ed2db4d (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 'recipes/mesa')
-rw-r--r--recipes/mesa/mesa-common.inc3
-rw-r--r--recipes/mesa/mesa-tls.inc6
2 files changed, 1 insertions, 8 deletions
diff --git a/recipes/mesa/mesa-common.inc b/recipes/mesa/mesa-common.inc
index 4f18c2f710..d7bfc148c5 100644
--- a/recipes/mesa/mesa-common.inc
+++ b/recipes/mesa/mesa-common.inc
@@ -19,8 +19,7 @@ EXTRA_OECONF = "--enable-glu \
--disable-glut \
"
-require mesa-tls.inc
-EXTRA_OECONF += "${@get_tls_setting(bb, d)} "
+inherit glx-use-tls
# Package contents vary according to ${MACHINE_DRI_MODULES}.
PACKAGE_ARCH = "${MACHINE}"
diff --git a/recipes/mesa/mesa-tls.inc b/recipes/mesa/mesa-tls.inc
deleted file mode 100644
index 1472aa7e74..0000000000
--- a/recipes/mesa/mesa-tls.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-
-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"