Add Miyoo target

This commit is contained in:
salvacam 2023-03-10 23:26:22 +01:00
parent e3466f8c46
commit 144b242b69
2 changed files with 19 additions and 0 deletions

View File

@ -56,6 +56,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
# OpenDingux (ARM)
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-arm32.yml'
#################################### MISC ##################################
# Stages for building
@ -147,3 +151,9 @@ libretro-build-tvos-arm64:
extends:
- .libretro-tvos-arm64-make-default
- .core-defs
# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs

View File

@ -126,6 +126,15 @@ else ifeq ($(platform), vita)
CFLAGS += -Wl,-q -Wall
CXXFLAGS += -Wl,-q -Wall
STATIC_LINKING = 1
else ifeq ($(platform), miyoo)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
CC = /opt/miyoo/usr/bin/arm-linux-gcc
CXX = /opt/miyoo/usr/bin/arm-linux-g++
AR = /opt/miyoo/usr/bin/arm-linux-ar
PLATFORM_DEFINES += -D_GNU_SOURCE
CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
else
CC ?= gcc
CXX ?= g++