Unverified Commit e5eb7383 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #5 from salvacam/miyoo

add Miyoo target
parents 666dc8ec 9db55763
Pipeline #81878 passed with stage
in 4 minutes and 11 seconds
......@@ -72,6 +72,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
......@@ -189,3 +193,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
......@@ -170,6 +170,22 @@ else ifeq ($(platform), retrofw)
CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables
CFLAGS += -fmerge-all-constants -fno-math-errno -fno-stack-protector -fno-ident
CXXFLAGS := $(ASFLAGS) $(CFLAGS)
else ifeq ($(platform), miyoo)
EXT ?= so
TARGET := $(TARGET_NAME)_libretro.$(EXT)
CC = /opt/miyoo/usr/bin/arm-linux-gcc
CXX = /opt/miyoo/usr/bin/arm-linux-g++
fpic := -fPIC
SHARED := -shared -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
LIBS += -lpthread
CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
CFLAGS += -ffunction-sections -fdata-sections -flto
CFLAGS += -falign-functions=1 -falign-jumps=1 -falign-loops=1
CFLAGS += -fomit-frame-pointer -ffast-math -fmerge-all-constants
CFLAGS += -funsafe-math-optimizations -fsingle-precision-constant -fexpensive-optimizations
CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables
CFLAGS += -fmerge-all-constants -fno-math-errno -fno-stack-protector -fno-ident
CXXFLAGS := $(ASFLAGS) $(CFLAGS)
else ifeq ($(platform), vita)
TARGET := $(TARGET_NAME)_vita.a
CC = arm-vita-eabi-gcc
......@@ -190,6 +206,9 @@ ifeq ($(DEBUG), 1)
else ifeq ($(platform), retrofw)
CFLAGS += -Ofast
CXXFLAGS += -Ofast
else ifeq ($(platform), miyoo)
CFLAGS += -Ofast
CXXFLAGS += -Ofast
else
CFLAGS += -O3
CXXFLAGS += -O3
......
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