aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-05-17 13:28:38 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-17 23:25:04 +0200
commit9d50fe608f968a5cc81ec859259f6304c3bf83c6 (patch)
tree6186bda1754e74835c53d08da90d58c0bf2f23ce
parent9587eea148df35532c06e25ef0be37af46d0ab36 (diff)
downloadbuildroot-9d50fe608f968a5cc81ec859259f6304c3bf83c6.tar.gz
buildroot-9d50fe608f968a5cc81ec859259f6304c3bf83c6.tar.bz2
package/x11r7/xserver_xorg-server: Udev kms support depends on libdrm
Fixes http://autobuild.buildroot.net/results/18c/18c554d148fc00f85690c1638976dd6d0d7ff219/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index 284d6022cf..cae3ba03db 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -127,6 +127,13 @@ endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
XSERVER_XORG_SERVER_DEPENDENCIES += udev
XSERVER_XORG_SERVER_CONF_OPT += --enable-config-udev
+# udev kms support depends on libdrm
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
+XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
+XSERVER_XORG_SERVER_CONF_OPT += --enable-config-udev-kms
+else
+XSERVER_XORG_SERVER_CONF_OPT += --disable-config-udev-kms
+endif
else
ifeq ($(BR2_PACKAGE_DBUS),y)
XSERVER_XORG_SERVER_DEPENDENCIES += dbus