Unverified Commit 1e2dd489 authored by Salvador's avatar Salvador Committed by GitHub
Browse files

Add Miyoo target (#32)

* add miyoo target

* add Miyoo target
parent 028da99d
Pipeline #59856 passed with stages
in 10 minutes and 11 seconds
......@@ -83,10 +83,14 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
# OpenDingux (ARM)
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-arm32.yml'
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
#################################### MISC ##################################
# Stages for building
......@@ -227,3 +231,9 @@ libretro-build-vita:
extends:
- .libretro-vita-static-retroarch-master
- .core-defs
# Miyoo
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs
\ No newline at end of file
......@@ -326,6 +326,20 @@ else ifeq ($(platform), classic_armv8_a35)
LDFLAGS += -marm -mcpu=cortex-a35 -mfpu=neon-fp-armv8 -mfloat-abi=hard -Ofast -flto -fuse-linker-plugin
#######################################
# MIYOO
else ifeq ($(platform), miyoo)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,--version-script=build/link.T -Wl,--no-undefined
CC = /opt/miyoo/usr/bin/arm-linux-gcc
CC_AS = /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
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
DEFINES += -std=c99
# ARM
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
......
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