diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-23 21:31:00 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-23 21:31:00 +0200 |
commit | dd25d80387a90f236e7aa90939ea7cd31d9264dc (patch) | |
tree | 821d4dc0ccecbefbe4b88a352210c8eabd0010dd /meta-oe/recipes-graphics | |
parent | 7bb0dfc5cdab0c4b605a7f0feaadd55a06044e61 (diff) | |
download | meta-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.inc | 3 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/mesa/mesa-dri.inc | 1 |
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 | ||
29 | inherit glx-use-tls | 29 | inherit glx-use-tls |
30 | 30 | ||
31 | # Package contents vary according to ${MACHINE_DRI_MODULES}. | ||
32 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
33 | |||
34 | PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" | 31 | PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" |
35 | FILES_${PN} += "${libdir}/dri/*.so" | 32 | FILES_${PN} += "${libdir}/dri/*.so" |
36 | FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so" | 33 | FILES_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 |
8 | DEFAULT_PREFERENCE = "-1" | 8 | DEFAULT_PREFERENCE = "-1" |
9 | 9 | ||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" | 11 | EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" |