From 26f427cae55603620b64fd5d383d70ea8ff18aa8 Mon Sep 17 00:00:00 2001 From: slapin Date: Sat, 7 Sep 2019 19:28:24 +0200 Subject: [PATCH] linux-sunxi: disable glamor build if Mali is used Unless somebody writes libgbm replacement for binary Mali driver (sort of converter for gbm-UMB) there is no glamor for us. Closes #227 --- conf/machine/include/sunxi-mali.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/machine/include/sunxi-mali.inc b/conf/machine/include/sunxi-mali.inc index 8367195..829f366 100644 --- a/conf/machine/include/sunxi-mali.inc +++ b/conf/machine/include/sunxi-mali.inc @@ -4,6 +4,8 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "sunxi-mali" PREFERRED_PROVIDER_virtual/libgles2 ?= "sunxi-mali" PREFERRED_PROVIDER_virtual/egl ?= "sunxi-mali" +PACKAGECONFIG_remove_pn-xserver-xorg = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glamor', '', d)}" + XSERVER += "sunxi-mali \ sunxi-mali-dev"