don't build edis if the x86 target isn't enabld.
authorChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 21:26:33 +0000 (21:26 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 21:26:33 +0000 (21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97268 91177308-0d34-0410-b5e6-96231b3b80d8

tools/Makefile

index c9b9ff231a6d8bec9a95a0221ecd2c6684e9b4f0..b6637a95f8e37104d62eafe0f37014eaab823073 100644 (file)
@@ -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