From 082b65319c90ea5c9a89ff4ffed12af3a3e952b6 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 10 Apr 2016 19:14:58 +0200 Subject: [PATCH] package/x11r7/xdriver_xf86-video-r128: disable DRI support when not available 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 Signed-off-by: Thomas Petazzoni --- package/x11r7/xdriver_xf86-video-r128/Config.in | 4 ---- .../x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/x11r7/xdriver_xf86-video-r128/Config.in b/package/x11r7/xdriver_xf86-video-r128/Config.in index 647156fb05..22ba4931e6 100644 --- a/package/x11r7/xdriver_xf86-video-r128/Config.in +++ b/package/x11r7/xdriver_xf86-video-r128/Config.in @@ -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 diff --git a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk index f9fcfdb2d5..4e88d87ca4 100644 --- a/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk +++ b/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk @@ -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)) -- 2.30.2