xdriver_xf86-video-ati: needs dri3proto for glamor
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 18 Mar 2016 20:55:22 +0000 (17:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Mar 2016 16:59:49 +0000 (17:59 +0100)
We need to match xserver here, since we need glamor support there in
order to enable it here, hence need to match the dependencies.
For xserver it needs dri3proto+libepoxy, however if only libepoxy is
present then glamor would be disabled for the server but enabled for the
driver, leading to build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk

index 3dd3d07a249cbf3a54d0036c0ec23726c24a6da4..09af05a5fa3f63215a5426b9e735a9ff554dc880 100644 (file)
@@ -22,7 +22,7 @@ XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \
        xproto_xproto \
        xserver_xorg-server
 
-ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
+ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO)$(BR2_PACKAGE_LIBEPOXY),yy)
 XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --enable-glamor
 else
 XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --disable-glamor