aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsalvacam2022-01-10 19:52:34 +0100
committersalvacam2022-01-10 19:52:34 +0100
commit2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066 (patch)
treec95ae5bfba57324c064aea0ee16c7ab176440cdf /Makefile
parent88a46f7c085f6e2accc4c777e264b9b5cd41cf0e (diff)
downloadsnes9x2005-2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066.tar.gz
snes9x2005-2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066.tar.bz2
snes9x2005-2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066.zip
add Miyoo target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 500e62e..4e40cc1 100644
--- a/Makefile
+++ b/Makefile
@@ -282,6 +282,17 @@ else ifeq ($(platform), gcw0)
FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
FLAGS += -DFAST_LSB_WORD_ACCESS
+# MIYOO
+else ifeq ($(platform), miyoo)
+ TARGET := $(TARGET_NAME)_libretro.so
+ CC = /opt/miyoo/usr/bin/arm-linux-gcc
+ CXX = /opt/miyoo/usr/bin/arm-linux-g++
+ AR = /opt/miyoo/usr/bin/arm-linux-ar
+ fpic := -fPIC -nostdlib
+ SHARED := -shared -Wl,--version-script=link.T
+ LIBM :=
+ FLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
+
# (armv7 a7, hard point, neon based) ###
# NESC, SNESC, C64 mini
else ifeq ($(platform), classic_armv7_a7)