summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-23 21:31:00 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-23 21:31:00 +0200
commitdd25d80387a90f236e7aa90939ea7cd31d9264dc (patch)
tree821d4dc0ccecbefbe4b88a352210c8eabd0010dd /meta-oe/recipes-graphics
parent7bb0dfc5cdab0c4b605a7f0feaadd55a06044e61 (diff)
downloadmeta-openembedded-dd25d80387a90f236e7aa90939ea7cd31d9264dc.tar.gz
mesa: move PACKAGE_ARCH = MACHINE_ARCH to the mesa-dri include
mesa-dri is the only machine specific one, leaking MACHINE_ARCH into mesa-x11 causes massive sstate mismatch Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/mesa/mesa-common.inc3
-rw-r--r--meta-oe/recipes-graphics/mesa/mesa-dri.inc1
2 files changed, 1 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/mesa/mesa-common.inc b/meta-oe/recipes-graphics/mesa/mesa-common.inc
index 3b255c469..29e2acabf 100644
--- a/meta-oe/recipes-graphics/mesa/mesa-common.inc
+++ b/meta-oe/recipes-graphics/mesa/mesa-common.inc
@@ -28,9 +28,6 @@ EXTRA_OECONF = "--enable-glu \
28 28
29inherit glx-use-tls 29inherit glx-use-tls
30 30
31# Package contents vary according to ${MACHINE_DRI_MODULES}.
32PACKAGE_ARCH = "${MACHINE_ARCH}"
33
34PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" 31PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
35FILES_${PN} += "${libdir}/dri/*.so" 32FILES_${PN} += "${libdir}/dri/*.so"
36FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so" 33FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
diff --git a/meta-oe/recipes-graphics/mesa/mesa-dri.inc b/meta-oe/recipes-graphics/mesa/mesa-dri.inc
index 0a5a576e9..4c5934da1 100644
--- a/meta-oe/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta-oe/recipes-graphics/mesa/mesa-dri.inc
@@ -7,4 +7,5 @@ FILESPATH =. "${FILE_DIRNAME}/mesa:${FILE_DIRNAME}/mesa-${PV}:"
7# most of our targets do not have DRI so will use mesa-xlib 7# most of our targets do not have DRI so will use mesa-xlib
8DEFAULT_PREFERENCE = "-1" 8DEFAULT_PREFERENCE = "-1"
9 9
10PACKAGE_ARCH = "${MACHINE_ARCH}"
10EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" 11EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"