aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
parentd30103dd364cc9f5b6d69b91ed75b932feeab90d (diff)
downloadexternal_llvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.zip
external_llvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.tar.gz
external_llvm-68e326689dc1d55f9bd2829bb91771fcec299c3b.tar.bz2
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')
-rw-r--r--tools/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c9b9ff2..b6637a9 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