Skip to content

Commit 77e9cd2

Browse files
authored
Merge pull request libretro#90 from salvacam/master
add Miyoo target
2 parents 88a46f7 + 2749ecb commit 77e9cd2

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ include:
9696
# OpenDingux
9797
- project: 'libretro-infrastructure/ci-templates'
9898
file: '/dingux-mips32.yml'
99+
100+
# OpenDingux (ARM)
101+
- project: 'libretro-infrastructure/ci-templates'
102+
file: '/dingux-arm32.yml'
99103

100104
# tvOS (AppleTV)
101105
- project: 'libretro-infrastructure/ci-templates'
@@ -392,6 +396,12 @@ libretro-build-dingux-odbeta-mips32-plus:
392396
- .libretro-dingux-odbeta-mips32-make-default
393397
- .core-defs-plus
394398

399+
# Miyoo
400+
libretro-build-miyoo-arm32:
401+
extends:
402+
- .libretro-miyoo-arm32-make-default
403+
- .core-defs
404+
395405
#################################### MISC ##################################
396406
# Emscripten
397407
libretro-build-emscripten:

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,17 @@ else ifeq ($(platform), gcw0)
282282
FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
283283
FLAGS += -DFAST_LSB_WORD_ACCESS
284284

285+
# MIYOO
286+
else ifeq ($(platform), miyoo)
287+
TARGET := $(TARGET_NAME)_libretro.so
288+
CC = /opt/miyoo/usr/bin/arm-linux-gcc
289+
CXX = /opt/miyoo/usr/bin/arm-linux-g++
290+
AR = /opt/miyoo/usr/bin/arm-linux-ar
291+
fpic := -fPIC -nostdlib
292+
SHARED := -shared -Wl,--version-script=link.T
293+
LIBM :=
294+
FLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
295+
285296
# (armv7 a7, hard point, neon based) ###
286297
# NESC, SNESC, C64 mini
287298
else ifeq ($(platform), classic_armv7_a7)

0 commit comments

Comments
 (0)