summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-12-02 22:06:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-19 18:08:02 +0000
commit94e14422f6af3f34e0d71fef1bcbe48ff63e1946 (patch)
treed9d893af8540b5b93c656b80d548bad47acef3aa /meta/recipes-graphics/mesa/mesa.inc
parent7d495e5032ffa10eea6a28fa596443468e305c4c (diff)
downloadpoky-94e14422f6af3f34e0d71fef1bcbe48ff63e1946.tar.gz
mesa: add PACKAGECONFIG support for gallium XA state tracker
(From OE-Core rev: d1cf188783ea5ae9013996a208f60960e3e7a6e7) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 1857f3c220..cb1837ac51 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -65,6 +65,7 @@ MESA_LLVM_RELEASE ?= "3.3"
65PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \ 65PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \
66 ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" 66 ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
67export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" 67export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
68PACKAGECONFIG[xa] = "--enable-xa, --disable-xa"
68 69
69# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) 70# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
70FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" 71FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
@@ -87,6 +88,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
87 libegl-gallium libgbm-gallium \ 88 libegl-gallium libgbm-gallium \
88 libopenvg libopenvg-dev \ 89 libopenvg libopenvg-dev \
89 libxvmcsoftpipe libxvmcsoftpipe-dev \ 90 libxvmcsoftpipe libxvmcsoftpipe-dev \
91 libxatracker libxatracker-dev \
90 mesa-megadriver \ 92 mesa-megadriver \
91 " 93 "
92 94
@@ -171,6 +173,7 @@ FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*"
171FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" 173FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*"
172FILES_libopenvg = "${libdir}/libOpenVG.so.*" 174FILES_libopenvg = "${libdir}/libOpenVG.so.*"
173FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*" 175FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*"
176FILES_libxatracker = "${libdir}/libxatracker.so.*"
174 177
175FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" 178FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
176FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" 179FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
@@ -185,5 +188,8 @@ FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayl
185FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \ 188FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \
186 ${includedir}/VG ${libdir}/pkgconfig/vg.pc" 189 ${includedir}/VG ${libdir}/pkgconfig/vg.pc"
187FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la" 190FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la"
191FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
192 ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
193 ${libdir}/pkgconfig/xatracker.pc"
188 194
189FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" 195FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug"