aboutsummaryrefslogtreecommitdiff
path: root/package/webif/webif.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/webif/webif.mk')
-rw-r--r--package/webif/webif.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/webif/webif.mk b/package/webif/webif.mk
index a2c4a80c6c..d9f3e049ba 100644
--- a/package/webif/webif.mk
+++ b/package/webif/webif.mk
@@ -25,12 +25,12 @@ $(TARGET_DIR)/www/webif.css: $(WEBIF_DIR)/.built
mkdir -p $(TARGET_DIR)/www
cat $(WEBIF_SOURCE)/files/etc/httpd.conf >> $(TARGET_DIR)/etc/httpd.conf
cp -dpfr $(WEBIF_SOURCE)/files/usr/lib/webif $(TARGET_DIR)/usr/lib/
-ifneq ($(strip $(BR2_PACKAGE_WEBIF_LANGUAGES)),y)
+ifneq ($(BR2_PACKAGE_WEBIF_LANGUAGES),y)
rm -rf $(TARGET_DIR)/usr/lib/webif/lang
endif
$(INSTALL) -m0755 $(WEBIF_DIR)/webif-page $(TARGET_DIR)/usr/bin/
$(INSTALL) -m0755 $(WEBIF_DIR)/bstrip $(TARGET_DIR)/usr/bin/
-ifeq ($(strip $(BR2_PACKAGE_WEBIF_INSTALL_INDEX_HTML)),y)
+ifeq ($(BR2_PACKAGE_WEBIF_INSTALL_INDEX_HTML),y)
@if [ -f "$(TARGET_DIR)/www/index.html" ]; then \
echo; \
echo "webif WARNING:"; \
@@ -66,6 +66,6 @@ webif-dirclean:
# Toplevel Makefile options
#
#############################################################
-ifeq ($(strip $(BR2_PACKAGE_WEBIF)),y)
+ifeq ($(BR2_PACKAGE_WEBIF),y)
TARGETS+=webif
endif