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

Merge pull request #112 from Poligraf/retrofw

add retrofw target
parents 5b1c0533 91cae022
Pipeline #59125 passed with stages
in 24 minutes and 57 seconds
......@@ -82,6 +82,10 @@ include:
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
#################################### MISC ##################################
......@@ -217,3 +221,10 @@ libretro-build-vita:
extends:
- .libretro-vita-static-retroarch-master
- .core-defs
# RetroFW
libretro-build-retrofw-mips32:
extends:
- .libretro-retrofw-mips32-make-default
- .core-defs
......@@ -432,7 +432,18 @@ else ifeq ($(platform), vita)
STATIC_LINKING = 1
CFLAGS += -DVITA -ftree-vectorize -mfloat-abi=hard -ffast-math -fsingle-precision-constant -funroll-loops -fno-short-enums
CXXFLAGS += -DVITA -ftree-vectorize -mfloat-abi=hard -ffast-math -fsingle-precision-constant -funroll-loops -fno-short-enums
# 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=build/link.T -Wl,-no-undefined
CFLAGS += -fomit-frame-pointer -march=mips32 -mtune=mips32 -mhard-float
CXXFLAGS += -fomit-frame-pointer -march=mips32 -mtune=mips32 -mhard-float
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
......
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