Skip to contentSkip to conversation

mesa: enable surfaceless platform

PATCH New Ross Burton 1 participant 1 message Jul 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa: enable surfaceless platform

This platform is enabled by default but as we override the platform list doesn't get enabled.

---
 meta/recipes-graphics/mesa/mesa.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/mesa/mesa.inc +2 -1
index fa99f7d50cc..cc01ea73b46 100644
@@ -29,7 +29,8 @@ inherit autotools pkgconfig python3native gettext distro_features_check
 ANY_OF_DISTRO_FEATURES = "opengl vulkan"
 
 PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \
-               ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)}"
+               ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)} \
+               surfaceless"
 
 export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
 export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
Signature · 1 line
2.11.0