package/x11r7/xdriver_xf86-video-tdfx: disable DRI support when not available
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 4 Jun 2016 17:24:13 +0000 (19:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Jun 2016 21:49:21 +0000 (23:49 +0200)
Fixes
http://autobuild.buildroot.net/results/304/304b68d14da026755d9d9323ed60f4f86adc7a96/
http://autobuild.buildroot.net/results/2b2/2b2558661850db295e670edfb5943973e93e01e4/

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

index 156a46d103963b28c3ade879386cf98a51fa7d25..942dcf3d603ce0fbd7fdcfd543c59d207b6b307e 100644 (file)
@@ -21,4 +21,8 @@ XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \
        xproto_xproto \
        xserver_xorg-server
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))