summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 81ecc43f8..008117dd7 100644
--- a/Makefile
+++ b/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