diff options
author | Colin Cross <ccross@android.com> | 2014-02-18 23:54:44 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-18 23:54:44 +0000 |
commit | bd3e4ce9cfa61bcc0176ac17a06f0904cb854a9a (patch) | |
tree | 361a9c638bf0785a9198793b8bb744ce9f9b81cf /lib | |
parent | cfe73f379d20f50874bc523fab59c2db43388a32 (diff) | |
parent | b7485134a2cbecc47904988b4cfde24019ac4fa1 (diff) | |
download | external_llvm-bd3e4ce9cfa61bcc0176ac17a06f0904cb854a9a.zip external_llvm-bd3e4ce9cfa61bcc0176ac17a06f0904cb854a9a.tar.gz external_llvm-bd3e4ce9cfa61bcc0176ac17a06f0904cb854a9a.tar.bz2 |
am b7485134: am 449fc261: Merge "llvm: convert makefiles to support multilib build"
* commit 'b7485134a2cbecc47904988b4cfde24019ac4fa1':
llvm: convert makefiles to support multilib build
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/ARM/Disassembler/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/ARM/MCTargetDesc/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/ARM/TargetInfo/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/Disassembler/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/TargetInfo/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/X86/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/X86/Disassembler/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/X86/InstPrinter/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/X86/MCTargetDesc/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/X86/TargetInfo/Android.mk | 2 | ||||
-rw-r--r-- | lib/Transforms/Scalar/Android.mk | 4 |
14 files changed, 1 insertions, 29 deletions
diff --git a/lib/Target/ARM/Android.mk b/lib/Target/ARM/Android.mk index 25b0d89..86649b2 100644 --- a/lib/Target/ARM/Android.mk +++ b/lib/Target/ARM/Android.mk @@ -67,7 +67,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -82,4 +81,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/ARM/Disassembler/Android.mk b/lib/Target/ARM/Disassembler/Android.mk index 51e364b..45a5407 100644 --- a/lib/Target/ARM/Disassembler/Android.mk +++ b/lib/Target/ARM/Disassembler/Android.mk @@ -11,7 +11,6 @@ arm_disassembler_SRC_FILES := \ # For the device # ===================================================== -ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -30,7 +29,6 @@ LOCAL_MODULE_TAGS := optional include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif # For the host # ===================================================== diff --git a/lib/Target/ARM/MCTargetDesc/Android.mk b/lib/Target/ARM/MCTargetDesc/Android.mk index af22753..faa482c 100644 --- a/lib/Target/ARM/MCTargetDesc/Android.mk +++ b/lib/Target/ARM/MCTargetDesc/Android.mk @@ -40,7 +40,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -57,4 +56,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/ARM/TargetInfo/Android.mk b/lib/Target/ARM/TargetInfo/Android.mk index d1af6ae..de4416e 100644 --- a/lib/Target/ARM/TargetInfo/Android.mk +++ b/lib/Target/ARM/TargetInfo/Android.mk @@ -32,7 +32,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device # ===================================================== -ifeq ($(TARGET_ARCH),arm) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -52,4 +51,3 @@ LOCAL_MODULE_TAGS := optional include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/Mips/Android.mk b/lib/Target/Mips/Android.mk index 1af5985..4d49583 100644 --- a/lib/Target/Mips/Android.mk +++ b/lib/Target/Mips/Android.mk @@ -64,7 +64,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),mips) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -80,4 +79,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/Mips/Disassembler/Android.mk b/lib/Target/Mips/Disassembler/Android.mk index 4e38c4b..868b43a 100644 --- a/lib/Target/Mips/Disassembler/Android.mk +++ b/lib/Target/Mips/Disassembler/Android.mk @@ -11,7 +11,6 @@ mips_disassembler_SRC_FILES := \ # For the device # ===================================================== -ifeq ($(TARGET_ARCH),mips) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -27,7 +26,6 @@ TBLGEN_TD_DIR := $(LOCAL_PATH)/.. include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif # For the host # ===================================================== diff --git a/lib/Target/Mips/MCTargetDesc/Android.mk b/lib/Target/Mips/MCTargetDesc/Android.mk index a2a7d63..3da6944 100644 --- a/lib/Target/Mips/MCTargetDesc/Android.mk +++ b/lib/Target/Mips/MCTargetDesc/Android.mk @@ -36,7 +36,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),mips) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -53,4 +52,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/Mips/TargetInfo/Android.mk b/lib/Target/Mips/TargetInfo/Android.mk index e3f41bc..8db12d3 100644 --- a/lib/Target/Mips/TargetInfo/Android.mk +++ b/lib/Target/Mips/TargetInfo/Android.mk @@ -28,7 +28,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device # ===================================================== -ifeq ($(TARGET_ARCH),mips) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -44,4 +43,3 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/X86/Android.mk b/lib/Target/X86/Android.mk index a9c413d..c9840c3 100644 --- a/lib/Target/X86/Android.mk +++ b/lib/Target/X86/Android.mk @@ -53,7 +53,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),x86) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -69,4 +68,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/X86/Disassembler/Android.mk b/lib/Target/X86/Disassembler/Android.mk index 1cee663..67400ad 100644 --- a/lib/Target/X86/Disassembler/Android.mk +++ b/lib/Target/X86/Disassembler/Android.mk @@ -11,7 +11,6 @@ x86_disassembler_SRC_FILES := \ # For the device # ===================================================== -ifeq ($(TARGET_ARCH),x86) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -30,7 +29,6 @@ LOCAL_MODULE_TAGS := optional include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif # For the host # ===================================================== diff --git a/lib/Target/X86/InstPrinter/Android.mk b/lib/Target/X86/InstPrinter/Android.mk index 0fd7058..633df62 100644 --- a/lib/Target/X86/InstPrinter/Android.mk +++ b/lib/Target/X86/InstPrinter/Android.mk @@ -14,7 +14,6 @@ x86_instprinter_SRC_FILES := \ # For the device # ===================================================== -ifeq ($(TARGET_ARCH),x86) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -33,7 +32,6 @@ LOCAL_MODULE_TAGS := optional include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif # For the host # ===================================================== diff --git a/lib/Target/X86/MCTargetDesc/Android.mk b/lib/Target/X86/MCTargetDesc/Android.mk index 31ba842..65cd8df 100644 --- a/lib/Target/X86/MCTargetDesc/Android.mk +++ b/lib/Target/X86/MCTargetDesc/Android.mk @@ -36,7 +36,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device only # ===================================================== -ifeq ($(TARGET_ARCH),x86) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -53,4 +52,3 @@ include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(LLVM_GEN_INTRINSICS_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Target/X86/TargetInfo/Android.mk b/lib/Target/X86/TargetInfo/Android.mk index c72b383..1c53475 100644 --- a/lib/Target/X86/TargetInfo/Android.mk +++ b/lib/Target/X86/TargetInfo/Android.mk @@ -32,7 +32,6 @@ include $(BUILD_HOST_STATIC_LIBRARY) # For the device # ===================================================== -ifeq ($(TARGET_ARCH),x86) include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) @@ -52,4 +51,3 @@ LOCAL_MODULE_TAGS := optional include $(LLVM_DEVICE_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) include $(BUILD_STATIC_LIBRARY) -endif diff --git a/lib/Transforms/Scalar/Android.mk b/lib/Transforms/Scalar/Android.mk index 7deb605..c157075 100644 --- a/lib/Transforms/Scalar/Android.mk +++ b/lib/Transforms/Scalar/Android.mk @@ -61,9 +61,7 @@ LOCAL_MODULE:= libLLVMScalarOpts # Override the default optimization level to work around a SIGSEGV # on x86 target builds for SROA.cpp. # Bug: 8047767 -ifeq ($(TARGET_ARCH),x86) -LOCAL_CFLAGS += -O1 -endif +LOCAL_CFLAGS_x86 += -O1 LOCAL_MODULE_TAGS := optional |