diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-02-08 16:46:23 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-02-08 16:46:23 +0100 |
commit | cb7c24870dcf419676a5e6fbefa76a0040449f22 (patch) | |
tree | 597b9bfd9066efe1c83fd3a54313f28dbb274ff1 | |
parent | d8fb109f73c20ddb8645419b5e915659d54fb608 (diff) | |
download | replicant_build-cb7c24870dcf419676a5e6fbefa76a0040449f22.zip replicant_build-cb7c24870dcf419676a5e6fbefa76a0040449f22.tar.gz replicant_build-cb7c24870dcf419676a5e6fbefa76a0040449f22.tar.bz2 |
make tcclean target workreplicant-6.0-alpha-0002
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | core/main.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/main.mk b/core/main.mk index 72c1f07..dd87d0a 100644 --- a/core/main.mk +++ b/core/main.mk @@ -58,6 +58,8 @@ PWD := $(shell pwd) TOP := . TOPDIR := +TOOLCHAIN_DIR := $(TOPDIR)toolchain + BUILD_SYSTEM := $(TOPDIR)build/core # This is the default target. It must be the first declared target. @@ -1047,12 +1049,10 @@ clean: .PHONY: tcclean tcclean: - @cd toolchain - @rm -rf clang - @rm -rf gcc - @rm -rf headers - @rm -rf jack_jill - @cd .. + @rm -rf $(TOOLCHAIN_DIR)/clang + @rm -rf $(TOOLCHAIN_DIR)/gcc + @rm -rf $(TOOLCHAIN_DIR)/headers + @rm -rf $(TOOLCHAIN_DIR)/jack_jill @echo -e ${CL_GRN}"All toolchain build directories removed."${CL_RST} |