[Buildroot] [PATCH 3/6] kodi: switch smb support to samba4
Gustavo Zacarias
gustavo at zacarias.com.ar
Fri Mar 6 12:50:31 UTC 2015
samba3 is deprecated upstream.
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
package/kodi/Config.in | 7 +++++--
package/kodi/kodi.mk | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 1bc8b15..48e624f 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -203,10 +203,13 @@ config BR2_PACKAGE_KODI_LIBSHAIRPLAY
comment "shairport support needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
+comment "samba support needs an (e)glibc toolchain"
+ depends on !BR2_TOOLCHAIN_USES_GLIBC
+
config BR2_PACKAGE_KODI_LIBSMBCLIENT
bool "samba"
- select BR2_PACKAGE_SAMBA
- select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
+ depends on BR2_TOOLCHAIN_USES_GLIBC
+ select BR2_PACKAGE_SAMBA4
help
Enable Samba support
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index f40fc31..a975f70 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -140,7 +140,7 @@ KODI_CONF_OPTS += --disable-webserver
endif
ifeq ($(BR2_PACKAGE_KODI_LIBSMBCLIENT),y)
-KODI_DEPENDENCIES += samba
+KODI_DEPENDENCIES += samba4
KODI_CONF_OPTS += --enable-samba
else
KODI_CONF_OPTS += --disable-samba
--
2.0.5
More information about the buildroot
mailing list