diff options
-rw-r--r-- | util/m5/Android.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/util/m5/Android.mk b/util/m5/Android.mk new file mode 100644 index 000000000..34fb10ec9 --- /dev/null +++ b/util/m5/Android.mk @@ -0,0 +1,21 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE := m5 +LOCAL_SRC_FILES := \ + m5.c + +ifeq ($(TARGET_ARCH),x86) + LOCAL_SRC_FILES += \ + m5op_x86.S +else ifeq ($(TARGET_ARCH),arm) + LOCAL_SRC_FILES += \ + m5op_arm.S +else ifeq ($(TARGET_ARCH),arm64) + LOCAL_SRC_FILES += \ + m5op_arm_A64.S +else + $(error "Unsupported TARGET_ARCH $(TARGET_ARCH)") +endif + +include $(BUILD_EXECUTABLE) |