From 0b42e1403e101894c00b183c012133999495c2ec Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 21 Nov 2014 21:45:41 +0200 Subject: [PATCH] Add clean target - use after pulling in new changes. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 6f550ab..cb7af9c 100644 --- a/Makefile +++ b/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