summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-11-14 03:29:27 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-11-14 03:29:27 +0000
commitd477fe544ca6aee2d148a4317e104a4b8d0ed964 (patch)
tree2352c0f30616c9cdfaab89d95cc7152fdedf22a2 /clang
parente82858299cd421e66453b9e5c61cd4fcad54b99a (diff)
downloadbcm5719-llvm-d477fe544ca6aee2d148a4317e104a4b8d0ed964.tar.gz
bcm5719-llvm-d477fe544ca6aee2d148a4317e104a4b8d0ed964.zip
Makefile: Follow r118918, to add configuration "ENABLE_DOCS".
llvm-svn: 119025
Diffstat (limited to 'clang')
-rw-r--r--clang/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Makefile b/clang/Makefile
index f871c25274e..ec5aa876b37 100644
--- a/clang/Makefile
+++ b/clang/Makefile
@@ -37,6 +37,10 @@ LEVEL := $(CLANG_LEVEL)/../..
# Include LLVM common makefile.
include $(LEVEL)/Makefile.common
+ifneq ($(ENABLE_DOCS),1)
+ DIRS := $(filter-out docs, $(DIRS))
+endif
+
# Set common Clang build flags.
CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_LEVEL)/include
ifdef CLANG_VENDOR
OpenPOWER on IntegriCloud