summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-03-31 12:50:30 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-31 23:41:26 +0200
commitde8efe181c78162b126a87fdbaf170182aadbaff (patch)
treee63cf880104ac65089b11f618379efeed887c1f1
parentb0598b6ff827aa443946ff1d945a5ce5c78801c5 (diff)
downloadbuildroot-de8efe181c78162b126a87fdbaf170182aadbaff.tar.gz
buildroot-de8efe181c78162b126a87fdbaf170182aadbaff.zip
package/x11r7/xserver_xorg-server: add --enable-libdrm for udev
If the libdrm package is enabled, the system is built with an udev provider and MESA3D_DRI_DRIVER is disabled this adds a --disable-libdrm to configure options, but udev still requires libdrm and results in a build failure since libdrm include paths aren't filled in (missing drm.h include error). So add --enable-libdrm for the udev scenario to counteract the previous --disable-libdrm. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index bb5381c1c6..d9f36fc5c0 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -130,7 +130,7 @@ XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev
# udev kms support depends on libdrm
ifeq ($(BR2_PACKAGE_LIBDRM),y)
XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
-XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms
+XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms --enable-libdrm
else
XSERVER_XORG_SERVER_CONF_OPTS += --disable-config-udev-kms
endif
OpenPOWER on IntegriCloud