add target Miyoo

This commit is contained in:
salvacam 2023-03-16 23:35:51 +01:00
parent 94033288b0
commit 408a83d8c5
2 changed files with 19 additions and 0 deletions

View File

@ -91,6 +91,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
# OpenDingux (ARM)
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-arm32.yml'
#################################### MISC ##################################
# Stages for building
@ -234,3 +238,8 @@ libretro-build-retrofw-mips32:
- .libretro-retrofw-mips32-make-default
- .core-defs
# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs

View File

@ -357,6 +357,16 @@ else ifeq ($(platform), retrofw)
CFLAGS += -fomit-frame-pointer -march=mips32 -mtune=mips32 -mhard-float
PLATFORM_DEFINES += -DRETROFW
#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
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
CFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s
# emscripten
else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_emscripten.bc