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

Merge pull request #58 from Poligraf/retrofw

add retrofw target
parents d0581d40 e9ebc4bd
Pipeline #52808 passed with stages
in 10 minutes and 5 seconds
......@@ -98,7 +98,10 @@ include:
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
#################################### MISC ##################################
# Stages for building
......@@ -257,3 +260,10 @@ libretro-build-libnx-aarch64:
extends:
- .libretro-libnx-static-retroarch-master
- .core-defs
# RetroFW
libretro-build-retrofw-mips32:
extends:
- .libretro-retrofw-mips32-make-default
- .core-defs
......@@ -81,6 +81,17 @@ endif
CXXFLAGS += $(ARCHFLAGS)
LDFLAGS += $(ARCHFLAGS)
#RETROFW
else ifeq ($(platform), retrofw)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc
CXX = /opt/retrofw-toolchain/usr/bin/mipsel-linux-g++
AR = /opt/retrofw-toolchain/usr/bin/mipsel-linux-ar
fpic := -fPIC
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
CFLAGS += -march=mips32 -mtune=mips32 -mhard-float
CFLAGS += -fomit-frame-pointer -ffast-math
# iOS
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