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 <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-04-10 19:14:58 +02:00 committed by Thomas Petazzoni
parent cf26ae7dd1
commit 082b65319c
2 changed files with 4 additions and 4 deletions

View 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

View 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))