OSDN Git Service

Fix llvm.mk and the other 49 mk files
[android-x86/external-llvm.git] / llvm-gen-intrinsics.mk
index decccdd..bde1c9b 100644 (file)
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
 # We treat Intrinsics.td as a very special target just like what lib/VMCore/Makefile does
 INTRINSICTD := $(LLVM_ROOT_PATH)/include/llvm/Intrinsics.td
 INTRINSICTDS := $(wildcard $(dir $(INTRINSICTD))/Intrinsics*.td)
@@ -16,3 +19,5 @@ ifeq ($(LOCAL_IS_HOST_MODULE),true)
 else
        $(call transform-device-td-to-out,intrinsic)
 endif
+
+endif