diff options
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index e7aa2fa4ff..b2a9f36f8e 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -17,4 +17,9 @@ DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \ # Recurse into the extra repository of tools if present. OPTIONAL_DIRS := extra +ifeq ($(BUILD_CLANG_ONLY),YES) + DIRS := tools/driver tools/libclang + OPTIONAL_DIRS := +endif + include $(CLANG_LEVEL)/Makefile |