summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-13 10:28:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:10 +0100
commit8a46f88e3fdd950d0dd73ad4c7a4d7d777d537f2 (patch)
treeb2e4c41d1b95003df4039ac0394e2679deb21e9b /meta/recipes-graphics/mesa/mesa-dri_7.11.bb
parentf7a51d75e34119551ffa1c02c475cc456a656ce1 (diff)
downloadpoky-8a46f88e3fdd950d0dd73ad4c7a4d7d777d537f2.tar.gz
mesa-dri: move shared options to mesa-dri.inc
(From OE-Core rev: 184957c784d6dc93ab1b2f0c1ebc1cd0c807fde4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri_7.11.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_7.11.bb22
1 files changed, 2 insertions, 20 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 8ab1941a36..2cb2e055b3 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -1,28 +1,10 @@
1include mesa-common.inc 1include mesa-common.inc
2include mesa-${PV}.inc 2include mesa-${PV}.inc
3 3include mesa-dri.inc
4PROTO_DEPS += "dri2proto"
5LIB_DEPS += "libdrm expat"
6
7PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
8 5
9# most of our targets do not have DRI so will use mesa-xlib
10DEFAULT_PREFERENCE = "-1"
11
12LEAD_SONAME = "libGL.so.1" 6LEAD_SONAME = "libGL.so.1"
13 7
14EXTRA_OECONF += "--with-driver=dri --disable-egl -with-dri-drivers=swrast,i915,i965 --without-gallium-drivers" 8EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965"
15
16python populate_packages_prepend() {
17 import os.path
18
19 dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
20
21 do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
22}
23 9
24COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' 10COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
25
26PACKAGES_DYNAMIC = "mesa-dri-driver-*"
27
28FILES_${PN}-dbg += "${libdir}/dri/.debug/*"