package/mpd: enable support for libnfs
[Thomas: add missing comment for the toolchain dependency.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
17ae9a4f0a
commit
1c83e79065
@ -182,6 +182,16 @@ config BR2_PACKAGE_MPD_CURL
|
||||
help
|
||||
Enable curl streaming (http) support.
|
||||
|
||||
config BR2_PACKAGE_MPD_LIBNFS
|
||||
bool "nfs"
|
||||
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
select BR2_PACKAGE_LIBNFS
|
||||
help
|
||||
Enable Network File System (NFS) support.
|
||||
|
||||
comment "nfs support needs a toolchain w/ RPC"
|
||||
depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
|
||||
config BR2_PACKAGE_MPD_LIBSMBCLIENT
|
||||
bool "samba"
|
||||
depends on !BR2_nios2 # samba
|
||||
|
@ -90,6 +90,13 @@ else
|
||||
MPD_CONF_OPTS += --disable-lame-encoder
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y)
|
||||
MPD_DEPENDENCIES += libnfs
|
||||
MPD_CONF_OPTS += --enable-nfs
|
||||
else
|
||||
MPD_CONF_OPTS += --disable-nfs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y)
|
||||
MPD_DEPENDENCIES += samba
|
||||
MPD_CONF_OPTS += --enable-smbclient
|
||||
|
Loading…
Reference in New Issue
Block a user