* add target Miyoo

* add Miyoo target
This commit is contained in:
Salvador 2021-10-13 01:20:17 +02:00 committed by GitHub
parent bbe9a72b92
commit b24883d9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -92,6 +92,10 @@ include:
- 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'
file: '/tvos-arm64.yml'
@ -231,6 +235,12 @@ libretro-build-retrofw-mips32:
- .libretro-retrofw-mips32-make-default
- .core-defs
# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs
# Nintendo 3DS
libretro-build-ctr:
extends:

View File

@ -465,6 +465,18 @@ else ifeq ($(platform), rs90)
CFLAGS += -ffast-math -fomit-frame-pointer -march=mips32 -mtune=mips32
CFLAGS += -DDINGUX -DRS90
# 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
SHARED := -shared -Wl,--version-script=libretro/link.T
fpic := -fPIC
CFLAGS += $(PTHREAD_FLAGS)
CFLAGS += -ffast-math -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s
CFLAGS += -DDINGUX -DRS90
# GCW0
else ifeq ($(platform), gcw0)
TARGET := $(TARGET_NAME)_libretro.so