Android.mk revision 12439:c8f064aeb43a
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE := m5
5LOCAL_SRC_FILES := \
6    m5.c
7
8ifeq ($(TARGET_ARCH),x86)
9    LOCAL_SRC_FILES += \
10        m5op_x86.S
11else ifeq ($(TARGET_ARCH),arm)
12    LOCAL_SRC_FILES += \
13        m5op_arm.S
14else ifeq ($(TARGET_ARCH),arm64)
15    LOCAL_SRC_FILES += \
16        m5op_arm_A64.S
17else
18    $(error "Unsupported TARGET_ARCH $(TARGET_ARCH)")
19endif
20
21include $(BUILD_EXECUTABLE)
22