mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-30 03:50:24 +00:00
Miyoo target (#1160)
This commit is contained in:
parent
b916ba7529
commit
6ebb2b86e7
@ -91,6 +91,10 @@ include:
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/dingux-mips32.yml'
|
||||
|
||||
# OpenDingux (ARM)
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/dingux-arm32.yml'
|
||||
|
||||
# tvOS (AppleTV)
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/tvos-arm64.yml'
|
||||
@ -325,6 +329,14 @@ libretro-build-retrofw-mips32:
|
||||
only:
|
||||
- master
|
||||
|
||||
# Miyoo
|
||||
libretro-build-miyoo-arm32:
|
||||
extends:
|
||||
- .libretro-miyoo-arm32-make-default
|
||||
- .core-defs
|
||||
only:
|
||||
- master
|
||||
|
||||
#################################### MISC ####################################
|
||||
# Emscripten
|
||||
libretro-build-emscripten:
|
||||
|
12
Makefile
12
Makefile
@ -512,6 +512,18 @@ else ifeq ($(platform), retrofw)
|
||||
fpic := -fPIC -nostdlib
|
||||
CFLAGS += -lm -march=mips32 -mtune=mips32 -mhard-float
|
||||
|
||||
# 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
|
||||
LDFLAGS += -shared -Wl,--version-script=link.T -Wl,-no-undefined
|
||||
PLATCFLAGS := -DNO_UNALIGNED_ACCESS
|
||||
PLATCFLAGS += -O3 -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math
|
||||
CXXFLAGS += -fno-rtti -fno-exceptions
|
||||
|
||||
# Emscripten
|
||||
else ifeq ($(platform), emscripten)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
|
||||
|
Loading…
Reference in New Issue
Block a user