1LOCAL_PATH := $(call my-dir) 2 3aarch64_utils_TBLGEN_TABLES := \ 4 AArch64GenRegisterInfo.inc \ 5 AArch64GenInstrInfo.inc \ 6 AArch64GenSubtargetInfo.inc 7 8aarch64_utils_SRC_FILES := \ 9 AArch64BaseInfo.cpp 10 11# For the device 12# ===================================================== 13ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 14include $(CLEAR_VARS) 15 16LOCAL_SRC_FILES := $(aarch64_utils_SRC_FILES) 17 18LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 19 20LOCAL_MODULE:= libLLVMAArch64Utils 21 22LOCAL_MODULE_TAGS := optional 23 24TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 25TBLGEN_TABLES := $(aarch64_utils_TBLGEN_TABLES) 26 27include $(LLVM_DEVICE_BUILD_MK) 28include $(LLVM_TBLGEN_RULES_MK) 29include $(LLVM_GEN_INTRINSICS_MK) 30include $(BUILD_STATIC_LIBRARY) 31endif 32 33# For the host 34# ===================================================== 35include $(CLEAR_VARS) 36 37LOCAL_SRC_FILES := $(aarch64_utils_SRC_FILES) 38 39LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 40 41LOCAL_MODULE:= libLLVMAArch64Utils 42 43LOCAL_MODULE_TAGS := optional 44 45TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 46TBLGEN_TABLES := $(aarch64_utils_TBLGEN_TABLES) 47 48include $(LLVM_HOST_BUILD_MK) 49include $(LLVM_TBLGEN_RULES_MK) 50include $(LLVM_GEN_INTRINSICS_MK) 51include $(BUILD_HOST_STATIC_LIBRARY) 52