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