summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-26 21:26:33 +0000
committerChris Lattner <sabre@nondot.org>2010-02-26 21:26:33 +0000
commit68e326689dc1d55f9bd2829bb91771fcec299c3b (patch)
tree10230dde2859d4e04d945708dea04868d3860837 /tools/Makefile
parentd30103dd364cc9f5b6d69b91ed75b932feeab90d (diff)
downloadllvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.tar.gz
llvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.tar.bz2
llvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.tar.xz
don't build edis if the x86 target isn't enabld.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c9b9ff231a..b6637a95f8 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -44,4 +44,9 @@ ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
DIRS := $(filter-out lto gold, $(DIRS))
endif
+# Only build edis if X86 target support is enabled.
+ifeq ($(filter $(TARGETS_TO_BUILD), X86),)
+ PARALLEL_DIRS := $(filter-out edis, $(PARALLEL_DIRS))
+endif
+
include $(LEVEL)/Makefile.common