summaryrefslogtreecommitdiff
path: root/package/samba
diff options
context:
space:
mode:
Diffstat (limited to 'package/samba')
-rw-r--r--package/samba/samba.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index b9f0a9a9b..cecc0cdfe 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -106,7 +106,7 @@ $(TARGET_DIR)/$(SAMBA_TARGET_BINARY): $(SAMBA_DIR)/$(SAMBA_BINARY)
for file in $(SAMBA_TARGETS_y); do \
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$$file; \
done
-ifeq ($(strip $(BR2_PACKAGE_SAMBA_SWAT)),y)
+ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
cp -dpfr $(SAMBA_DIR)/../swat $(TARGET_DIR)/usr/
endif
$(INSTALL) -m 0755 package/samba/S91smb $(TARGET_DIR)/etc/init.d
@@ -138,6 +138,6 @@ samba-dirclean:
# Toplevel Makefile options
#
#############################################################
-ifeq ($(strip $(BR2_PACKAGE_SAMBA)),y)
+ifeq ($(BR2_PACKAGE_SAMBA),y)
TARGETS+=samba
endif