platforms: Add Miyoo target
Based on existing OpenDingux targets, just built for arm32.
This commit is contained in:
@@ -100,6 +100,10 @@ include:
|
|||||||
- project: 'libretro-infrastructure/ci-templates'
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
file: '/dingux-mips32.yml'
|
file: '/dingux-mips32.yml'
|
||||||
|
|
||||||
|
# OpenDingux (ARM)
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/dingux-arm32.yml'
|
||||||
|
|
||||||
# tvOS (AppleTV)
|
# tvOS (AppleTV)
|
||||||
- project: 'libretro-infrastructure/ci-templates'
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
file: '/tvos-arm64.yml'
|
file: '/tvos-arm64.yml'
|
||||||
@@ -284,6 +288,12 @@ libretro-build-retrofw-mips32:
|
|||||||
- .libretro-retrofw-mips32-make-default
|
- .libretro-retrofw-mips32-make-default
|
||||||
- .core-defs
|
- .core-defs
|
||||||
|
|
||||||
|
# Miyoo
|
||||||
|
libretro-build-miyoo-arm32:
|
||||||
|
extends:
|
||||||
|
- .libretro-miyoo-arm32-make-default
|
||||||
|
- .core-defs
|
||||||
|
|
||||||
#################################### MISC ##################################
|
#################################### MISC ##################################
|
||||||
# Emscripten
|
# Emscripten
|
||||||
libretro-build-emscripten:
|
libretro-build-emscripten:
|
||||||
|
|||||||
@@ -450,6 +450,17 @@ else ifeq ($(platform), retrofw)
|
|||||||
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32 -mhard-float -fomit-frame-pointer
|
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32 -mhard-float -fomit-frame-pointer
|
||||||
EXTERNAL_ZLIB = 1
|
EXTERNAL_ZLIB = 1
|
||||||
|
|
||||||
|
# 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=src/drivers/libretro/link.T -Wl,-no-undefined
|
||||||
|
PLATFORM_DEFINES += -fomit-frame-pointer -ffast-math -mcpu=arm926ej-s
|
||||||
|
EXTERNAL_ZLIB = 1
|
||||||
|
|
||||||
# Windows MSVC 2017 all architectures
|
# Windows MSVC 2017 all architectures
|
||||||
else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
||||||
CC = cl.exe
|
CC = cl.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user