(.gitlab-ci.yml) Add RetroFW target

This commit is contained in:
jdgleaver 2021-07-29 13:39:30 +01:00
parent a35a61e25b
commit 19e7181d78
2 changed files with 9 additions and 3 deletions

View File

@ -278,6 +278,12 @@ libretro-build-dingux-odbeta-mips32:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs
# RetroFW
libretro-build-retrofw-mips32:
extends:
- .libretro-retrofw-mips32-make-default
- .core-defs
#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:

View File

@ -433,18 +433,18 @@ else ifeq ($(platform), gcw0)
SHARED := -shared -Wl,--version-script=src/drivers/libretro/link.T -Wl,-no-undefined
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer
EXTERNAL_ZLIB = 1
# RETROFW
else ifeq ($(platform), retrofw)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
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=src/drivers/libretro/link.T -Wl,-no-undefined
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32 -mhard-float -fomit-frame-pointer
EXTERNAL_ZLIB = 1
# Windows MSVC 2017 all architectures
else ifneq (,$(findstring windows_msvc2017,$(platform)))
CC = cl.exe