aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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