From daa433bff6d2d9934705feacd3619a7618d13ae5 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 15 Jul 2015 20:11:54 +0200 Subject: [PATCH] package/x11r7/xdriver_xf86-video-ati: Add optional support for glamor 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 Signed-off-by: Thomas Petazzoni --- .../x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk b/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk index 15807c26b6..cba9e76adf 100644 --- a/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk +++ b/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk @@ -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)) -- 2.30.2