diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile index bf1a77210b5e6..cb2566a0a17d2 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,10 @@ ifeq ($(MAKECMDGOALS),libs-only) DIRS := $(filter-out tools docs, $(DIRS)) OPTIONAL_DIRS := endif +ifeq ($(BUILD_CLANG_ONLY),YES) + DIRS := $(filter-out docs unittests, $(DIRS)) + OPTIONAL_DIRS := +endif ### # Common Makefile code, shared by all Clang Makefiles. |