Message ID | 1468175780-18062-1-git-send-email-bernd.kuhls@t-online.de |
---|---|
State | Not Applicable |
Headers | show |
Hello, On Sun, 10 Jul 2016 20:36:19 +0200, Bernd Kuhls wrote: > 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> > --- > package/kodi/kodi.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk > index 90c50c3..21a0d53 100644 > --- a/package/kodi/kodi.mk > +++ b/package/kodi/kodi.mk > @@ -53,6 +53,13 @@ KODI_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads > LIBS="-lvcos -lvchostif" > endif > > +ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y) HAS_UDEV (same typo as mesa3d) :-) Thomas
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 90c50c3..21a0d53 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -53,6 +53,13 @@ KODI_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads LIBS="-lvcos -lvchostif" endif +ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),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
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> --- package/kodi/kodi.mk | 7 +++++++ 1 file changed, 7 insertions(+)