summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-03-11 13:09:47 +0100
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2016-03-11 13:09:47 +0100
commite6142ef5581e7ddd9f4c684b7dce6ef154bcba9d (patch) (github)
tree643616272048095f713ea0d4d3f328dfb35b7221 /makefile
parenta880f01b17e4d268a25b4646d580b736d14b9e02 (diff)
downloadmame-e6142ef5581e7ddd9f4c684b7dce6ef154bcba9d.tar.bz2
mame-e6142ef5581e7ddd9f4c684b7dce6ef154bcba9d.zip
Support for aarch64 (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefile b/makefile
index fabd136bb5e..2c0b4a0d231 100644
--- a/makefile
+++ b/makefile
@@ -136,6 +136,12 @@ endif
ifneq ($(filter arm%,$(UNAME_P)),)
PLATFORM := arm
endif
+ifneq ($(filter aarch64%,$(UNAME_M)),)
+PLATFORM := arm64
+endif
+ifneq ($(filter aarch64%,$(UNAME_P)),)
+PLATFORM := arm64
+endif
ifneq ($(filter powerpc,$(UNAME_P)),)
PLATFORM := powerpc
endif
@@ -279,6 +285,13 @@ ifndef NOASM
endif
endif
+ifeq ($(findstring aarch64,$(UNAME)),aarch64)
+ARCHITECTURE :=
+ifndef NOASM
+ NOASM := 1
+endif
+endif
+
# Emscripten
ifeq ($(findstring emcc,$(CC)),emcc)
TARGETOS := asmjs