mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
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>
This commit is contained in:
@@ -28,9 +28,6 @@ EXTRA_OECONF = "--enable-glu \
|
||||
|
||||
inherit glx-use-tls
|
||||
|
||||
# Package contents vary according to ${MACHINE_DRI_MODULES}.
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
|
||||
FILES_${PN} += "${libdir}/dri/*.so"
|
||||
FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
|
||||
|
||||
@@ -7,4 +7,5 @@ FILESPATH =. "${FILE_DIRNAME}/mesa:${FILE_DIRNAME}/mesa-${PV}:"
|
||||
# most of our targets do not have DRI so will use mesa-xlib
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
EXTRA_OECONF += " --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"
|
||||
|
||||
Reference in New Issue
Block a user