package/x11r7/xdriver_xf86-video-r128: disable DRI support when not available
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 10 Apr 2016 17:14:58 +0000 (19:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 13 Apr 2016 20:35:48 +0000 (22:35 +0200)
Fixes
http://autobuild.buildroot.net/results/2e5/2e58f95dcdfe7f139d39712ac3026be76a9f3296/
http://autobuild.buildroot.net/results/2bf/2bfe7775a9e011b8ad8e196b635492240ca4c494/
http://autobuild.buildroot.net/results/1ad/1ada5fe37fc0d04d2b3ed9a01827d1974c32cf6c/

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-r128/Config.in
package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk

index 647156fb05d8267a56451f02c65c1b2ccb701d68..22ba4931e69676c19ee8f4a0a80692fa533b60a9 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_R128
        bool "xf86-video-r128"
-       depends on BR2_PACKAGE_MESA3D
        select BR2_PACKAGE_XPROTO_FONTSPROTO
        select BR2_PACKAGE_XPROTO_RANDRPROTO
        select BR2_PACKAGE_XPROTO_RENDERPROTO
@@ -8,6 +7,3 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_R128
        select BR2_PACKAGE_XPROTO_XPROTO
        help
          R128 video driver
-
-comment "xf86-video-r128 needs mesa3d"
-       depends on !BR2_PACKAGE_MESA3D
index f9fcfdb2d58a265171b0049b5cbb700a1b92fb48..4e88d87ca4f51f93a8702a0c63f18384f8ab31d5 100644 (file)
@@ -12,4 +12,8 @@ XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_R128_AUTORECONF = YES
 XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xproto_fontsproto xproto_randrproto xproto_renderproto xproto_xextproto xproto_xproto
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_R128_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))