summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2011-08-01 21:46:16 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-09-11 20:46:46 (GMT)
commitede8ca0019974fc999c6e9f20dfbedfeb9649c60 (patch)
treeb86a05d5bed4f620e681e7aa4e5a376f12fa7e3d
parentd97542c6d88d2e621db8d01db523baac5bf9ccf0 (diff)
downloadbuildroot-ede8ca0019974fc999c6e9f20dfbedfeb9649c60.tar.gz
buildroot-ede8ca0019974fc999c6e9f20dfbedfeb9649c60.tar.bz2
samba: make installation of smbd configurable
It may be desirable to compile samba but not actually install the smbd binary. This is the case if you need libsmbclient but don't want to run a samba server. Make this possible by allowing to disable installation of smbd. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/samba/Config.in7
-rw-r--r--package/samba/samba.mk1
2 files changed, 8 insertions, 0 deletions
diff --git a/package/samba/Config.in b/package/samba/Config.in
index 58a84f3..3a77776 100644
--- a/package/samba/Config.in
+++ b/package/samba/Config.in
@@ -122,6 +122,13 @@ config BR2_PACKAGE_SAMBA_SMBCQUOTAS
help
Set or get QUOTAs of NTFS 5 shares
+config BR2_PACKAGE_SAMBA_SMBD
+ bool "smbd"
+ default y
+ depends on BR2_PACKAGE_SAMBA
+ help
+ The server daemon that provides filesharing and printing services
+
config BR2_PACKAGE_SAMBA_SMBGET
bool "smbget"
default y
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index dfc7636..621d13c 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -111,6 +111,7 @@ SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCACLS) += usr/bin/smbcacls
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCLIENT) += usr/bin/smbclient
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCONTROL) += usr/bin/smbcontrol
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCQUOTAS) += usr/bin/smbcquotas
+SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBD) += usr/sbin/smbd
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBGET) += usr/bin/smbget
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBLDBTOOLS) += usr/bin/ldbadd
SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBLDBTOOLS) += usr/bin/ldbdel