Files
gem5/util/m5/src/Android.mk
Gabe Black a959f28ec9 util: Move source files into a src directory.
This also moves the Makefiles, which will still produce build output in
the src directory. This is to prepare for a scons based build system
which will create a separate build directory with build artifacts.

Change-Id: I7c6d325e1d0a428656b2e3070b5e942515543696
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27209
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
2020-04-01 11:58:06 +00:00

22 lines
422 B
Makefile

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)