diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-10 15:04:36 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-10 16:16:15 +0200 |
commit | 216a19f9c117ed36f6b224125a7c5ef8015239be (patch) | |
tree | aadc63e15ba1dd6804dd298797cd0ba7eb547189 | |
parent | 7c61d77dc58831d3f47753c7454b66a788727e71 (diff) | |
download | llvm-216a19f9c117ed36f6b224125a7c5ef8015239be.tar.gz llvm-216a19f9c117ed36f6b224125a7c5ef8015239be.tar.bz2 llvm-216a19f9c117ed36f6b224125a7c5ef8015239be.tar.xz |
[Embtk] Give ability to not build unittests via NO_UNITTESTS
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
(cherry picked from commit 2dde0d30145d774df263b13cbd142eddda15cc10)
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |