diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | tools/Makefile | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -28,8 +28,7 @@ ifeq ($(MAKECMDGOALS),libs-only) OPTIONAL_DIRS := endif ifeq ($(BUILD_CLANG_ONLY),YES) - DIRS := $(filter-out tools docs unittests, $(DIRS)) \ - tools/driver tools/libclang + DIRS := $(filter-out docs unittests, $(DIRS)) OPTIONAL_DIRS := endif 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 |