summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/kodi/kodi.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index da5d1fa75a..e291947021 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -102,6 +102,13 @@ KODI_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads
LIBS="-lvcos -lvchostif"
endif
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+KODI_DEPENDENCIES += udev
+KODI_CONF_OPTS += --enable-udev
+else
+KODI_CONF_OPTS += --disable-udev
+endif
+
ifeq ($(BR2_PACKAGE_IMX_VPUWRAP),y)
KODI_DEPENDENCIES += imx-vpuwrap
KODI_CONF_OPTS += --enable-codec=imxvpu
OpenPOWER on IntegriCloud