From 0ecf3f78dd85539f1758ac142e4e15bf7993a04f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 17 Apr 2014 18:04:14 +0200 Subject: [PATCH] package/xdriver_xf86-video-ati: only select libdrm if the DRI driver is enabled The xf86 radeon driver does not need libdrm, unless DRI is enabled too. Reported-by: Thomas Petazzoni Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/x11r7/xdriver_xf86-video-ati/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/x11r7/xdriver_xf86-video-ati/Config.in b/package/x11r7/xdriver_xf86-video-ati/Config.in index 3c0cac36c5..d8bb0292cd 100644 --- a/package/x11r7/xdriver_xf86-video-ati/Config.in +++ b/package/x11r7/xdriver_xf86-video-ati/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI bool "xf86-video-ati" - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBDRM_RADEON + select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + select BR2_PACKAGE_LIBDRM_RADEON if BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON select BR2_PACKAGE_MESA3D select BR2_PACKAGE_XPROTO_FONTSPROTO select BR2_PACKAGE_XPROTO_GLPROTO -- 2.30.2