From 29ad494654266816d6b6a0e5818f8ff0f7465c7c Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 11 Jul 2016 20:08:57 +0200 Subject: [PATCH] package/kodi: Add suboption to control UPnP support Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/kodi/Config.in | 5 +++++ package/kodi/kodi.mk | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index 3d3ecfd8d8..a000e79a0b 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -227,6 +227,11 @@ config BR2_PACKAGE_KODI_LIBVA help Enable libva support. +config BR2_PACKAGE_KODI_UPNP + bool "upnp" + help + Enable UPnP support + config BR2_PACKAGE_KODI_OPTICALDRIVE bool diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 8a3b0bfc5f..52593aa595 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -228,6 +228,12 @@ else KODI_CONF_OPTS += --disable-vaapi endif +ifeq ($(BR2_PACKAGE_KODI_UPNP),y) +KODI_CONF_OPTS += --enable-upnp +else +KODI_CONF_OPTS += --disable-upnp +endif + ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y) KODI_CONF_OPTS += --enable-optical-drive --enable-dvdcss else -- 2.30.2