aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2010-06-07 22:05:52 -0700
committerShih-wei Liao <sliao@google.com>2010-06-07 22:19:10 -0700
commitc156bc696311928af01132d159b9e307436779bb (patch)
treee575ed202f5bc77ec53c7430290d5565e28ba904 /lib/Bitcode
parent8a54f3e1f79c1e57e76a1cc53c6c5697374ea7b5 (diff)
downloadexternal_llvm-c156bc696311928af01132d159b9e307436779bb.tar.gz
external_llvm-c156bc696311928af01132d159b9e307436779bb.tar.bz2
external_llvm-c156bc696311928af01132d159b9e307436779bb.zip
Fix llvm.mk and the other 49 mk files
Change-Id: I5aa02363c1083297d163a575f5a35c495f950230
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Reader/Android.mk5
-rw-r--r--lib/Bitcode/Writer/Android.mk5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/Bitcode/Reader/Android.mk b/lib/Bitcode/Reader/Android.mk
index 165b0d0cde..c78b702274 100644
--- a/lib/Bitcode/Reader/Android.mk
+++ b/lib/Bitcode/Reader/Android.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
LOCAL_PATH:= $(call my-dir)
bitcode_reader_SRC_FILES := \
@@ -27,3 +30,5 @@ LOCAL_MODULE:= libLLVMBitReader
include $(LLVM_DEVICE_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_STATIC_LIBRARY)
+
+endif
diff --git a/lib/Bitcode/Writer/Android.mk b/lib/Bitcode/Writer/Android.mk
index 5147c4646d..a4aac59a28 100644
--- a/lib/Bitcode/Writer/Android.mk
+++ b/lib/Bitcode/Writer/Android.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
LOCAL_PATH:= $(call my-dir)
# For the host only
@@ -15,3 +18,5 @@ LOCAL_MODULE:= libLLVMBitWriter
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
+
+endif