summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 81ecc43f8a..008117dd79 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -119,7 +119,8 @@ source: $(TARGETS_SOURCE)
#
#############################################################
clean:
- rm -rf $(BUILD_DIR) $(IMAGE).*
+ rm -rf $(BUILD_DIR)
+ -rm -f openwrt-*
@$(MAKE) -C $(CONFIG) clean
distclean: clean
@@ -180,7 +181,7 @@ defconfig: $(CONFIG)/conf
# Cleanup and misc junk
#
#############################################################
-clean:
+clean:
@$(MAKE) -C $(CONFIG) clean
distclean: clean