mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
samba: always build smbclient, smbtree and testparm
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
0a64f62ac2
commit
a5d4c9926a
@ -97,10 +97,9 @@ PKG_CONFIGURE_OPTS="--prefix=/usr \
|
|||||||
--with-syslog \
|
--with-syslog \
|
||||||
--nopyc --nopyo"
|
--nopyc --nopyo"
|
||||||
|
|
||||||
PKG_SAMBA_TARGET="smbclient"
|
PKG_SAMBA_TARGET="smbclient,client/smbclient,smbtree,testparm"
|
||||||
|
|
||||||
[ "$SAMBA_SERVER" = "yes" ] && PKG_SAMBA_TARGET+=",smbd/smbd,nmbd,smbpasswd"
|
[ "$SAMBA_SERVER" = "yes" ] && PKG_SAMBA_TARGET+=",smbd/smbd,nmbd,smbpasswd"
|
||||||
[ "$DEVTOOLS" = "yes" ] && PKG_SAMBA_TARGET+=",client/smbclient,smbtree,testparm"
|
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
# samba uses its own build directory
|
# 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
|
cp $INSTALL/etc/samba/smb.conf $INSTALL/usr/config/samba.conf.sample
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEVTOOLS" = "yes" ]; then
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp -PR bin/default/source3/client/smbclient $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/smbtree $INSTALL/usr/bin
|
||||||
cp -PR bin/default/source3/utils/testparm $INSTALL/usr/bin
|
cp -PR bin/default/source3/utils/testparm $INSTALL/usr/bin
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$SAMBA_SERVER" = "yes" ]; then
|
if [ "$SAMBA_SERVER" = "yes" ]; then
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user