blob: bcb867ab3e883a26dae5239e00d2fd5394d4df90 [file] [log] [blame]
LOCAL_PATH := $(call cur-dir)
ifeq ($(ARCH_ARC), true)
LOCAL_MODULE := arc
LOCAL_SRC_FILES := \
mt_arc_default_handlers.c \
mt_arc_mpu.c \
mt_arc_smart.c \
mt_arc_wrappers.S \
mt_cirq.c \
startup.S \
vector.c \
mt_arc_init.c
LOCAL_C_INCLUDES := ./include
ALL_SRCS += $(foreach SRC, $(LOCAL_SRC_FILES:./%=%), $(addprefix $(LOCAL_PATH)/, $(SRC)))
ALL_INCDIRS += $(foreach INC, $(LOCAL_C_INCLUDES), $(addprefix $(LOCAL_PATH)/, $(INC)))
endif