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 --- lib/Bitcode/Reader/Android.mk | 5 +++++ lib/Bitcode/Writer/Android.mk | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'lib/Bitcode') 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 -- cgit v1.2.3