Filter out tools and unittests which we don't want to build when we're building clang only.

llvm-svn: 164916
This commit is contained in:
Bill Wendling 2012-09-30 11:23:30 +00:00
parent 446fb68894
commit aae78b861f
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ ifeq ($(MAKECMDGOALS),libs-only)
DIRS := $(filter-out tools docs, $(DIRS))
OPTIONAL_DIRS :=
endif
ifeq ($(MAKECMDGOALS),clang-only)
DIRS := $(filter-out tools docs unittests, $(DIRS))
tools/driver tools/libclang
OPTIONAL_DIRS :=
endif
###
# Common Makefile code, shared by all Clang Makefiles.