summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cd46d6..0807250 100644
--- a/Makefile
+++ b/Makefile
@@ -55,3 +55,7 @@ image/%: config/$$(REPO)-$$(HW).config openwrt/$$(REPO)/.repo_access
cd openwrt/$(REPO) && $(MAKE) -j$(NUMPROC)
mkdir -p $(shell dirname $@)
rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/
+
+clean:
+ -rm -r config/*.config image/*
+ -for i in openwrt/*; do (cd $$i && $(MAKE) clean); done
contact: Jan Huwald // Impressum