@@ -217,6 +217,12 @@ config BR2_PACKAGE_KODI_LIBSMBCLIENT
help
Enable Samba support
+config BR2_PACKAGE_KODI_LIBSSH
+ bool "ssh"
+ select BR2_PACKAGE_LIBSSH
+ help
+ Enable sftp virtual filesystem using libssh.
+
config BR2_PACKAGE_KODI_LIBTHEORA
bool "theora"
select BR2_PACKAGE_LIBTHEORA
@@ -34,7 +34,6 @@ KODI_CONF_OPTS += \
--disable-openmax \
--disable-projectm \
--disable-pulse \
- --disable-ssh \
--disable-vdpau \
--disable-vtbdecoder \
--enable-optimizations
@@ -172,6 +171,13 @@ else
KODI_CONF_OPTS += --disable-airplay
endif
+ifeq ($(BR2_PACKAGE_KODI_LIBSSH),y)
+KODI_DEPENDENCIES += libssh
+KODI_CONF_OPTS += --enable-ssh
+else
+KODI_CONF_OPTS += --disable-ssh
+endif
+
ifeq ($(BR2_PACKAGE_KODI_AVAHI),y)
KODI_DEPENDENCIES += avahi
KODI_CONF_OPTS += --enable-avahi