From 19e7181d780206c0b04ae40ee51a06af60281607 Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Thu, 29 Jul 2021 13:39:30 +0100 Subject: [PATCH] (.gitlab-ci.yml) Add RetroFW target --- .gitlab-ci.yml | 6 ++++++ Makefile.libretro | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6771abe..f794a11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/Makefile.libretro b/Makefile.libretro index ba9568b..2f2bb5a 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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