From c156bc696311928af01132d159b9e307436779bb Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Mon, 7 Jun 2010 22:05:52 -0700 Subject: Fix llvm.mk and the other 49 mk files Change-Id: I5aa02363c1083297d163a575f5a35c495f950230 --- llvm.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm.mk') 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 -- cgit v1.1