Fix llvm.mk and the other 49 mk files

Change-Id: I5aa02363c1083297d163a575f5a35c495f950230
diff --git a/clang-tblgen-rules.mk b/clang-tblgen-rules.mk
index db41335..ed84997 100644
--- a/clang-tblgen-rules.mk
+++ b/clang-tblgen-rules.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
 ###########################################################
 ## TableGen: Compile .td files to .inc.
 ###########################################################
@@ -37,5 +40,6 @@
 	$(call transform-host-td-to-out,opt-parser-defs)
 endif
 
+endif
 
 endif