Only build jello when compiling on X86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4938 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/Makefile b/tools/Makefile
index c4823d8..095395b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,5 +1,14 @@
-LEVEL = ..
-PARALLEL_DIRS = as dis opt gccas llc link lli gccld analyze extract jello bugpoint
+LEVEL := ..
+PARALLEL_DIRS := as dis opt gccas llc link lli gccld analyze extract bugpoint
include $(LEVEL)/Makefile.common
+ifeq ($(ARCH),x86)
+# Only build jello when we are on X86
+all :: jello/.makeall
+install :: jello/.makeinstall
+clean :: jello/.makeclean
+endif
+
+
+