Commit 7dd5c950 authored by salvacam's avatar salvacam
Browse files

add Miyoo target

parent 9c0f61db
...@@ -102,6 +102,11 @@ include: ...@@ -102,6 +102,11 @@ include:
# OpenDingux # OpenDingux
- 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'
#################################### MISC ################################## #################################### MISC ##################################
# Stages for building # Stages for building
...@@ -267,3 +272,8 @@ libretro-build-retrofw-mips32: ...@@ -267,3 +272,8 @@ 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
...@@ -91,6 +91,17 @@ else ifeq ($(platform), retrofw) ...@@ -91,6 +91,17 @@ else ifeq ($(platform), retrofw)
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
CFLAGS += -march=mips32 -mtune=mips32 -mhard-float CFLAGS += -march=mips32 -mtune=mips32 -mhard-float
CFLAGS += -fomit-frame-pointer -ffast-math CFLAGS += -fomit-frame-pointer -ffast-math
# 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 += -march=armv5te -mtune=arm926ej-s
CFLAGS += -fomit-frame-pointer -ffast-math
# iOS # iOS
else ifneq (,$(findstring ios,$(platform))) else ifneq (,$(findstring ios,$(platform)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment