diff options
author | Ross Burton <ross.burton@intel.com> | 2012-08-02 17:48:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:52 +0100 |
commit | abfa907b4c4e682be63b82a14d5f0855d137e3c5 (patch) | |
tree | 671b87858b366b08b97a9700766070325638370e /meta/recipes-graphics | |
parent | 8b4015a52b3b28578a4454a7f3fac72022a7fd2f (diff) | |
download | poky-abfa907b4c4e682be63b82a14d5f0855d137e3c5.tar.gz |
mesa: enable the Graphic Buffer Manager library
(From OE-Core rev: be882417cf432fe79a843cea4439503f286206cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-common.inc | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri.inc | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc index 6582bcf589..ff9f882d41 100644 --- a/meta/recipes-graphics/mesa/mesa-common.inc +++ b/meta/recipes-graphics/mesa/mesa-common.inc | |||
@@ -12,7 +12,7 @@ SECTION = "x11" | |||
12 | LICENSE = "MIT" | 12 | LICENSE = "MIT" |
13 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" | 13 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" |
14 | 14 | ||
15 | INC_PR = "r17" | 15 | INC_PR = "r18" |
16 | PE = "2" | 16 | PE = "2" |
17 | 17 | ||
18 | 18 | ||
@@ -45,15 +45,18 @@ PACKAGES =+ "libegl libegl-dev libegl-dbg \ | |||
45 | libosmesa libosmesa-dev \ | 45 | libosmesa libosmesa-dev \ |
46 | libgl libgl-dev \ | 46 | libgl libgl-dev \ |
47 | libglapi libglapi-dev \ | 47 | libglapi libglapi-dev \ |
48 | libgbm libgbm-dev \ | ||
48 | " | 49 | " |
49 | 50 | ||
50 | FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so" | 51 | FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so" |
52 | FILES_libgbm = "${libdir}/libgbm.so.*" | ||
51 | FILES_libgl = "${libdir}/libGL.so.*" | 53 | FILES_libgl = "${libdir}/libGL.so.*" |
52 | FILES_libglapi = "${libdir}/libglapi.so.*" | 54 | FILES_libglapi = "${libdir}/libglapi.so.*" |
53 | FILES_libglu = "${libdir}/libGLU.so.*" | 55 | FILES_libglu = "${libdir}/libGLU.so.*" |
54 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" | 56 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" |
55 | 57 | ||
56 | FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL" | 58 | FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL" |
59 | FILES_libgbm-dev = "${libdir}/libgbm* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | ||
57 | FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" | 60 | FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" |
58 | FILES_libglapi-dev = "${libdir}/libglapi.*" | 61 | FILES_libglapi-dev = "${libdir}/libglapi.*" |
59 | FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h ${libdir}/pkgconfig/glu.pc" | 62 | FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h ${libdir}/pkgconfig/glu.pc" |
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc index 6bf2503296..f8f1fff4cc 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa-dri.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | PROTO_DEPS += "dri2proto" | 1 | PROTO_DEPS += "dri2proto" |
2 | LIB_DEPS += "libdrm expat" | 2 | LIB_DEPS += "libdrm expat udev" |
3 | 3 | ||
4 | # most of our targets do not have DRI so will use mesa-xlib | 4 | # most of our targets do not have DRI so will use mesa-xlib |
5 | DEFAULT_PREFERENCE = "-1" | 5 | DEFAULT_PREFERENCE = "-1" |
@@ -8,7 +8,9 @@ DRIDRIVERS = "swrast" | |||
8 | DRIDRIVERS_append_x86 = ",i915,i965" | 8 | DRIDRIVERS_append_x86 = ",i915,i965" |
9 | DRIDRIVERS_append_x86-64 = ",i915,i965" | 9 | DRIDRIVERS_append_x86-64 = ",i915,i965" |
10 | 10 | ||
11 | EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}" | 11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" |
12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" | ||
13 | EXTRA_OECONF += "--disable-egl --enable-gbm" | ||
12 | 14 | ||
13 | python populate_packages_prepend() { | 15 | python populate_packages_prepend() { |
14 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") | 16 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") |