summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-05-10 15:04:36 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-04-13 01:56:54 +0200
commit0597584cce5889e63994cd4332aea0d96d88cfc7 (patch)
treecb1decfb3c7d8fe4e2fb736e1d4af496b935e17f
parent1da4cf10b52b888ccb9ae43c7d523d075b509331 (diff)
downloadllvm-0597584cce5889e63994cd4332aea0d96d88cfc7.tar.gz
llvm-0597584cce5889e63994cd4332aea0d96d88cfc7.tar.bz2
llvm-0597584cce5889e63994cd4332aea0d96d88cfc7.tar.xz
[Embtk] Give ability to not build unittests via NO_UNITTESTS
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3672b76b4..d3b91a7a70 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,10 @@ ifneq ($(ONLY_TOOLS),)
DIRS := $(filter-out unittests, $(DIRS))
endif
+ifneq ($(NO_UNITTESTS),)
+ DIRS := $(filter-out unittests, $(DIRS))
+endif
+
# If we're cross-compiling, build the build-hosted tools first
ifeq ($(LLVM_CROSS_COMPILING),1)
all:: cross-compile-build-tools