mpd: switch smb support to samba4

samba3 is deprecated upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2015-03-06 09:50:30 -03:00 committed by Thomas Petazzoni
parent bfc8a3c421
commit f83662bb7e
2 changed files with 6 additions and 3 deletions

View File

@ -192,11 +192,14 @@ config BR2_PACKAGE_MPD_LIBNFS
comment "nfs support needs a toolchain w/ RPC"
depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
comment "samba support needs an (e)glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
config BR2_PACKAGE_MPD_LIBSMBCLIENT
bool "samba"
depends on !BR2_nios2 # samba
select BR2_PACKAGE_SAMBA
select BR2_PACKAGE_SAMBA_LIBSMBCLIENT
depends on BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_SAMBA4
help
Enable Samba support.

View File

@ -114,7 +114,7 @@ MPD_CONF_OPTS += --disable-nfs
endif
ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y)
MPD_DEPENDENCIES += samba
MPD_DEPENDENCIES += samba4
MPD_CONF_OPTS += --enable-smbclient
else
MPD_CONF_OPTS += --disable-smbclient