summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-10-17 00:29:01 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-27 22:53:24 +0100
commit1c83e790655a3409ea76588ef07ce73f93b83d21 (patch)
treed79feecf6e005c6a79296863c2f6660ea08babe7
parent17ae9a4f0a900d44a050ab15dd0e412dcdbfa567 (diff)
downloadbuildroot-1c83e790655a3409ea76588ef07ce73f93b83d21.tar.gz
buildroot-1c83e790655a3409ea76588ef07ce73f93b83d21.zip
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>
-rw-r--r--package/mpd/Config.in10
-rw-r--r--package/mpd/mpd.mk7
2 files changed, 17 insertions, 0 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index 09df556e44..289b197f24 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -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
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index ecd2a77fb5..ef89f3d275 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -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
OpenPOWER on IntegriCloud