aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutechre2022-01-10 19:55:39 +0100
committerGitHub2022-01-10 19:55:39 +0100
commit77e9cd293c791b47f4397da0a47242b329243cb5 (patch)
treec95ae5bfba57324c064aea0ee16c7ab176440cdf
parent88a46f7c085f6e2accc4c777e264b9b5cd41cf0e (diff)
parent2749ecb5fca6f9bbb5e78ddcfc280ca7a138c066 (diff)
downloadsnes9x2005-77e9cd293c791b47f4397da0a47242b329243cb5.tar.gz
snes9x2005-77e9cd293c791b47f4397da0a47242b329243cb5.tar.bz2
snes9x2005-77e9cd293c791b47f4397da0a47242b329243cb5.zip
Merge pull request #90 from salvacam/master
add Miyoo target
-rw-r--r--.gitlab-ci.yml10
-rw-r--r--Makefile11
2 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83320a9..137c0c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -96,6 +96,10 @@ include:
# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
+
+ # OpenDingux (ARM)
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/dingux-arm32.yml'
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
@@ -392,6 +396,12 @@ libretro-build-dingux-odbeta-mips32-plus:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs-plus
+# Miyoo
+libretro-build-miyoo-arm32:
+ extends:
+ - .libretro-miyoo-arm32-make-default
+ - .core-defs
+
#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:
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)