aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.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 /llvm.mk
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 'llvm.mk')
-rw-r--r--llvm.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm.mk b/llvm.mk
index 33e1175..d5fe841 100644
--- a/llvm.mk
+++ b/llvm.mk
@@ -1,7 +1,5 @@
# Only use this on the device or emulator.
-ifeq ($(TARGET_SIMULATOR),true)
-$(error LLVM not suitable for the simulator! $(LOCAL_PATH))
-endif
+ifneq ($(TARGET_ARCH),arm)
ifeq ($(LLVM_ROOT_PATH),)
$(error Must set variable LLVM_ROOT_PATH before including this! $(LOCAL_PATH))
@@ -18,3 +16,5 @@ LLVM_TBLGEN_RULES_MK := $(LLVM_ROOT_PATH)/llvm-tblgen-rules.mk
CLANG_ROOT_PATH := $(LLVM_ROOT_PATH)/tools/clang
include $(CLANG_ROOT_PATH)/clang.mk
+
+endif