summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libdrm/libdrm.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index 6bd65f9cb..76ee763d4 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -3,7 +3,7 @@
# libdrm
#
#############################################################
-LIBDRM_VERSION = 2.4.19
+LIBDRM_VERSION = 2.4.23
LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.bz2
LIBDRM_SITE = http://dri.freedesktop.org/libdrm/
LIBDRM_INSTALL_STAGING = YES
@@ -28,4 +28,11 @@ ifneq ($(BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI),y)
LIBDRM_CONF_OPT += --disable-radeon
endif
+ifeq ($(BR2_PACKAGE_UDEV),y)
+LIBDRM_CONF_OPT += --enable-udev
+LIBDRM_DEPENDENCIES += udev
+else
+LIBDRM_CONF_OPT += --disable-udev
+endif
+
$(eval $(autotools-package))