summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatze Miau <miaukatzemiau@priveasy.de>2012-03-02 09:02:49 (GMT)
committerKatze Miau <miaukatzemiau@priveasy.de>2012-03-02 09:02:49 (GMT)
commit206909c09183a1ace1f2c83e9ec3dfc45015b904 (patch)
treed8ebf0318fb460fa2b3903f5f651d29ad0fb5933
parent03fa87a10469a4ce339fb5052d9eea421ae8d94c (diff)
Makefile: add target clean
-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