samba: always build smbclient, smbtree and testparm

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2018-04-25 16:09:55 +02:00
parent 0a64f62ac2
commit a5d4c9926a

View File

@ -97,10 +97,9 @@ PKG_CONFIGURE_OPTS="--prefix=/usr \
--with-syslog \
--nopyc --nopyo"
PKG_SAMBA_TARGET="smbclient"
PKG_SAMBA_TARGET="smbclient,client/smbclient,smbtree,testparm"
[ "$SAMBA_SERVER" = "yes" ] && PKG_SAMBA_TARGET+=",smbd/smbd,nmbd,smbpasswd"
[ "$DEVTOOLS" = "yes" ] && PKG_SAMBA_TARGET+=",client/smbclient,smbtree,testparm"
pre_configure_target() {
# samba uses its own build directory
@ -150,12 +149,10 @@ post_makeinstall_target() {
cp $INSTALL/etc/samba/smb.conf $INSTALL/usr/config/samba.conf.sample
fi
if [ "$DEVTOOLS" = "yes" ]; then
mkdir -p $INSTALL/usr/bin
cp -PR bin/default/source3/client/smbclient $INSTALL/usr/bin
cp -PR bin/default/source3/utils/smbtree $INSTALL/usr/bin
cp -PR bin/default/source3/utils/testparm $INSTALL/usr/bin
fi
mkdir -p $INSTALL/usr/bin
cp -PR bin/default/source3/client/smbclient $INSTALL/usr/bin
cp -PR bin/default/source3/utils/smbtree $INSTALL/usr/bin
cp -PR bin/default/source3/utils/testparm $INSTALL/usr/bin
if [ "$SAMBA_SERVER" = "yes" ]; then
mkdir -p $INSTALL/usr/bin