1 LOCAL_PATH := $(call my-dir)
3 mips_target_info_TBLGEN_TABLES := \
5 MipsGenRegisterInfo.inc \
6 MipsGenSubtargetInfo.inc
8 mips_target_info_SRC_FILES := \
12 # =====================================================
14 include $(CLEAR_TBLGEN_VARS)
16 LOCAL_MODULE:= libLLVMMipsInfo
17 LOCAL_MODULE_TAGS := optional
19 TBLGEN_TABLES := $(mips_target_info_TBLGEN_TABLES)
20 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
22 LOCAL_SRC_FILES := $(mips_target_info_SRC_FILES)
23 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
25 include $(LLVM_HOST_BUILD_MK)
26 include $(LLVM_TBLGEN_RULES_MK)
27 include $(BUILD_HOST_STATIC_LIBRARY)
30 # =====================================================
31 ifeq ($(TARGET_ARCH),mips)
33 include $(CLEAR_TBLGEN_VARS)
35 LOCAL_MODULE:= libLLVMMipsInfo
36 LOCAL_MODULE_TAGS := optional
38 TBLGEN_TABLES := $(mips_target_info_TBLGEN_TABLES)
39 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
41 LOCAL_SRC_FILES := $(mips_target_info_SRC_FILES)
42 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
44 include $(LLVM_DEVICE_BUILD_MK)
45 include $(LLVM_TBLGEN_RULES_MK)
46 include $(BUILD_STATIC_LIBRARY)