package/x11r7/xdriver_xf86-video-ati: Add optional support for glamor
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 15 Jul 2015 18:11:54 +0000 (20:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jul 2015 12:00:30 +0000 (14:00 +0200)
xserver_xorg-server depends on libepoxy for glamor support, therefore we
use this package as an indicator whether glamor support is present.

Fixes https://bugs.busybox.net/show_bug.cgi?id=8171

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk

index 15807c26b6dd7944e06dc6df0292996dcc65e343..cba9e76adfd218feb20a7eb294af4715bd9b21b2 100644 (file)
@@ -22,4 +22,10 @@ XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \
        xproto_xproto \
        xserver_xorg-server
 
+ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
+XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --enable-glamor
+else
+XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --disable-glamor
+endif
+
 $(eval $(autotools-package))