* add miyoo target
This commit is contained in:
Salvador 2021-10-16 03:37:50 +02:00 committed by GitHub
parent 70ed83cf84
commit 30c408cb36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -89,6 +89,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'
@ -249,6 +253,12 @@ libretro-build-dingux-odbeta-mips32:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs
# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs
#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:

View File

@ -418,6 +418,18 @@ else ifeq ($(platform), gcw0)
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
DEFINES += -std=c99
# MIYOO
else ifeq ($(platform), miyoo)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T
CC = /opt/miyoo/usr/bin/arm-linux-gcc
AR = /opt/miyoo/usr/bin/arm-linux-ar
PLATFORM_DEFINES += -D_GNU_SOURCE
CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
DEFINES += -std=c99
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll