mirror of
https://github.com/libretro/vemulator-libretro.git
synced 2025-02-16 23:09:36 +00:00
Add Miyoo target
This commit is contained in:
parent
e3466f8c46
commit
144b242b69
@ -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
|
9
Makefile
9
Makefile
@ -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++
|
||||
|
Loading…
x
Reference in New Issue
Block a user