add Miyoo target

This commit is contained in:
salvacam 2022-01-10 19:52:34 +01:00
parent 88a46f7c08
commit 2749ecb5fc
2 changed files with 21 additions and 0 deletions

View File

@ -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:

View File

@ -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)