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 <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2015-07-15 20:11:54 +02:00 committed by Thomas Petazzoni
parent 0ebec4d807
commit daa433bff6

View 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))