Browse Source

Add clean target - use after pulling in new changes.

Paul Sokolovsky 10 years ago
parent
commit
0b42e1403e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -97,3 +97,10 @@ _ct-ng:
 crosstool-NG/bootstrap:
 	@echo "You cloned without --recursive, fetching submodules for you."
 	git submodule update --init --recursive
+
+
+clean:
+	make -C crosstool-NG clean MAKELEVEL=0
+	-rm -rf $(TOOLCHAIN)
+	-rm -rf $(readlink sdk)
+	-rm -f sdk