aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/MCTargetDesc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/MCTargetDesc/Android.mk')
-rw-r--r--lib/Target/X86/MCTargetDesc/Android.mk84
1 files changed, 48 insertions, 36 deletions
diff --git a/lib/Target/X86/MCTargetDesc/Android.mk b/lib/Target/X86/MCTargetDesc/Android.mk
index 70b88f8..13da039 100644
--- a/lib/Target/X86/MCTargetDesc/Android.mk
+++ b/lib/Target/X86/MCTargetDesc/Android.mk
@@ -1,36 +1,48 @@
-#LOCAL_PATH := $(call my-dir)
-#
-#x86_codegen_SRC_FILES := \
-# X86TargetDesc.cpp
-#
-## For the host
-## =====================================================
-#include $(CLEAR_VARS)
-#include $(CLEAR_TBLGEN_VARS)
-#
-#TBLGEN_TABLES := $(x86_codegen_TBLGEN_TABLES)
-#
-#LOCAL_SRC_FILES := $(x86_codegen_SRC_FILES)
-#
-#LOCAL_MODULE:= libLLVMX86Desc
-#
-#LOCAL_MODULE_TAGS := optional
-#
-#include $(LLVM_HOST_BUILD_MK)
-#include $(BUILD_HOST_STATIC_LIBRARY)
-#
-## For the device only
-## =====================================================
-#ifeq ($(TARGET_ARCH),x86)
-#include $(CLEAR_VARS)
-#include $(CLEAR_TBLGEN_VARS)
-#
-#LOCAL_SRC_FILES := $(x86_codegen_SRC_FILES)
-#
-#LOCAL_MODULE:= libLLVMX86Desc
-#
-#LOCAL_MODULE_TAGS := optional
-#
-#include $(LLVM_DEVICE_BUILD_MK)
-#include $(BUILD_STATIC_LIBRARY)
-#endif
+LOCAL_PATH := $(call my-dir)
+
+x86_mc_desc_TBLGEN_TABLES := \
+ X86GenRegisterInfo.inc \
+ X86GenInstrInfo.inc \
+ X86GenSubtargetInfo.inc
+
+x86_mc_desc_SRC_FILES := \
+ X86MCAsmInfo.cpp \
+ X86MCTargetDesc.cpp
+
+# For the host
+# =====================================================
+include $(CLEAR_VARS)
+include $(CLEAR_TBLGEN_VARS)
+
+TBLGEN_TABLES := $(x86_mc_desc_TBLGEN_TABLES)
+
+LOCAL_SRC_FILES := $(x86_mc_desc_SRC_FILES)
+
+LOCAL_MODULE:= libLLVMX86Desc
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_TBLGEN_RULES_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+# For the device only
+# =====================================================
+ifeq ($(TARGET_ARCH),x86)
+include $(CLEAR_VARS)
+include $(CLEAR_TBLGEN_VARS)
+
+TBLGEN_TABLES := $(x86_mc_desc_TBLGEN_TABLES)
+
+LOCAL_SRC_FILES := $(x86_mc_desc_SRC_FILES)
+
+LOCAL_MODULE:= libLLVMX86Desc
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_DEVICE_BUILD_MK)
+include $(LLVM_TBLGEN_RULES_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_STATIC_LIBRARY)
+endif