package/x11r7/xdriver_xf86-video-savage: disable DRI support when not available
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 7 Aug 2016 15:25:46 +0000 (17:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Aug 2016 20:50:09 +0000 (22:50 +0200)
Fixes
http://autobuild.buildroot.net/results/ecd/ecdb6977d282c276cbdf1f3dd0ccfaddff1d1ac5/

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

index dc5644a3c4677ca901571686820b980c123516ce..95bca7e3b893f1604e0e105e2d0a8bcd51002105 100644 (file)
@@ -12,4 +12,8 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES
 XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xproto_fontsproto xproto_randrproto xproto_renderproto xproto_videoproto xproto_xextproto xproto_xf86driproto xproto_xproto
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))