summaryrefslogtreecommitdiffstats
path: root/package/kodi
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-07-11 20:08:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-17 14:29:23 +0200
commit10979bb2c6b5f827b356427a556b9500010a3eca (patch)
tree0bed14dcf7979c5ba291d773d958a83e0337e236 /package/kodi
parent2aae80b209de91740fd57a36d42b3801f2793eeb (diff)
downloadbuildroot-10979bb2c6b5f827b356427a556b9500010a3eca.tar.gz
buildroot-10979bb2c6b5f827b356427a556b9500010a3eca.zip
package/kodi: add support for libudev
Most of the times this is not needed because libdrm & mesa3d already pull in the dependency to udev. Let's add it anyway to make sure that udev is really used and to document that Kodi makes use of udev. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kodi')
-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