package/x11r7/xdriver_xf86-video-sis: disable DRI support when not available
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 1 Jan 2017 13:07:05 +0000 (14:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jan 2017 03:41:06 +0000 (16:41 +1300)
Fixes
http://autobuild.buildroot.net/results/ad8/ad861cb34c15a91e511042d8e47e2c3132cd5898/

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-sis/xdriver_xf86-video-sis.mk

index b1fce837e890d371087b2b12e3b9dc228f40b5e7..d244749538160fec0dbff32e762d36022a345089 100644 (file)
@@ -12,4 +12,8 @@ XDRIVER_XF86_VIDEO_SIS_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_SIS_AUTORECONF = YES
 XDRIVER_XF86_VIDEO_SIS_DEPENDENCIES = xserver_xorg-server libdrm xproto_fontsproto xproto_randrproto xproto_renderproto xproto_videoproto xproto_xextproto xproto_xf86dgaproto xproto_xf86driproto xproto_xineramaproto xproto_xproto
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SIS_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))