aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-27 00:11:09 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-27 00:11:09 +0000
commit985c471af15d377a061bad608c4922184cdb99f2 (patch)
tree682c5b07aa49cbb30cf9ab3212d5e973036d513d
parenta4376dc59fbf9fc3062b72450fe7673c3093c261 (diff)
Use a variable to stop us from building clang testing tools.
<rdar://problem/11202465> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164739 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e7aa2fa4ff..f271e139e2 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -14,6 +14,10 @@ include $(CLANG_LEVEL)/../../Makefile.config
DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
clang-check
+ifeq ($(CLANG_NO_TEST_TOOLS),YES)
+DIRS := driver libclang
+endif
+
# Recurse into the extra repository of tools if present.
OPTIONAL_DIRS := extra