aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/TargetInfo
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/Target/X86/TargetInfo
parent8a54f3e1f79c1e57e76a1cc53c6c5697374ea7b5 (diff)
downloadexternal_llvm-c156bc696311928af01132d159b9e307436779bb.zip
external_llvm-c156bc696311928af01132d159b9e307436779bb.tar.gz
external_llvm-c156bc696311928af01132d159b9e307436779bb.tar.bz2
Fix llvm.mk and the other 49 mk files
Change-Id: I5aa02363c1083297d163a575f5a35c495f950230
Diffstat (limited to 'lib/Target/X86/TargetInfo')
-rw-r--r--lib/Target/X86/TargetInfo/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/X86/TargetInfo/Android.mk b/lib/Target/X86/TargetInfo/Android.mk
index ee53f0d..7a3e672 100644
--- a/lib/Target/X86/TargetInfo/Android.mk
+++ b/lib/Target/X86/TargetInfo/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 device only
@@ -13,7 +16,7 @@ TBLGEN_TD_DIR := $(LOCAL_PATH)/..
LOCAL_SRC_FILES := \
X86TargetInfo.cpp
-
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/..
@@ -22,3 +25,5 @@ LOCAL_MODULE:= libLLVMX86Info
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_TBLGEN_RULES_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
+
+endif