aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/Android.mk
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/CodeGen/AsmPrinter/Android.mk
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/CodeGen/AsmPrinter/Android.mk')
-rw-r--r--lib/CodeGen/AsmPrinter/Android.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/Android.mk b/lib/CodeGen/AsmPrinter/Android.mk
index 0063f43b35..159de2ba51 100644
--- a/lib/CodeGen/AsmPrinter/Android.mk
+++ b/lib/CodeGen/AsmPrinter/Android.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
LOCAL_PATH := $(call my-dir)
codegen_asmprinter_SRC_FILES := \
@@ -10,11 +13,11 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
AsmPrinter.cpp \
AsmPrinterDwarf.cpp \
- AsmPrinterInlineAsm.cpp \
+ AsmPrinterInlineAsm.cpp \
DIE.cpp \
DwarfDebug.cpp \
DwarfException.cpp \
- OcamlGCPrinter.cpp
+ OcamlGCPrinter.cpp
LOCAL_MODULE:= libLLVMAsmPrinter
@@ -26,10 +29,12 @@ include $(BUILD_HOST_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- AsmPrinter.cpp \
- AsmPrinterInlineAsm.cpp
+ AsmPrinter.cpp \
+ AsmPrinterInlineAsm.cpp
LOCAL_MODULE:= libLLVMAsmPrinter
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_STATIC_LIBRARY)
+
+endif