blob: 4707c4bb450da398554bce23047610db7aa7fe2b [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
mcld_mips_target_SRC_FILES := \
MipsDiagnostic.cpp \
MipsELFDynamic.cpp \
MipsELFSectLinker.cpp \
MipsGOT.cpp \
MipsLDBackend.cpp \
MipsRelocationFactory.cpp \
MipsSectLinker.cpp \
MipsTargetMachine.cpp
# For the host
# =====================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES)
LOCAL_MODULE:= libmcldMipsTarget
LOCAL_MODULE_TAGS := optional
include $(MCLD_HOST_BUILD_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
# For the device
# =====================================================
ifeq ($(TARGET_ARCH),mips)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(mcld_mips_target_SRC_FILES)
LOCAL_MODULE:= libmcldMipsTarget
LOCAL_MODULE_TAGS := optional
include $(MCLD_DEVICE_BUILD_MK)
include $(BUILD_STATIC_LIBRARY)
endif