diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-02-08 13:30:31 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-02-08 13:30:31 +0100 |
commit | d8fb109f73c20ddb8645419b5e915659d54fb608 (patch) | |
tree | 98788a2e27ccd5aec54ec5ccb2f4cab11cb732ae /core/main.mk | |
parent | f24daeff7d5826dbf1efed77fccc7836589e72da (diff) | |
download | build-d8fb109f73c20ddb8645419b5e915659d54fb608.zip build-d8fb109f73c20ddb8645419b5e915659d54fb608.tar.gz build-d8fb109f73c20ddb8645419b5e915659d54fb608.tar.bz2 |
add tcclean target to remove all toolchain build dirs
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk index 8fabea6..72c1f07 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1045,8 +1045,19 @@ clean: @rm -rf $(OUT_DIR)/* @echo -e ${CL_GRN}"Entire build directory removed."${CL_RST} +.PHONY: tcclean +tcclean: + @cd toolchain + @rm -rf clang + @rm -rf gcc + @rm -rf headers + @rm -rf jack_jill + @cd .. + @echo -e ${CL_GRN}"All toolchain build directories removed."${CL_RST} + + .PHONY: clobber -clobber: clean +clobber: clean tcclean # The rules for dataclean and installclean are defined in cleanbuild.mk. |