diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe32c95..f47b3d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -200,3 +200,10 @@ libretro-build-rs90-odbeta-mips32: extends: - .libretro-rs90-odbeta-mips32-make-default - .core-defs + +# RetroFW +libretro-build-retrofw-mips32: + extends: + - .libretro-retrofw-mips32-make-default + - .core-defs + diff --git a/platform/libretro/Makefile b/platform/libretro/Makefile index 46d4c84..75ea302 100644 --- a/platform/libretro/Makefile +++ b/platform/libretro/Makefile @@ -297,6 +297,15 @@ else ifeq ($(platform), gcw0) FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float fpic := -fPIC +# RETROFW +else ifeq ($(platform), retrofw) + TARGET := $(TARGET_NAME)_libretro.so + CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc + AR = /opt/retrofw-toolchain/usr/bin/mipsel-linux-ar + SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T + FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32 + fpic := -fPIC + # Raspberry Pi 1 else ifeq ($(platform), rpi1) TARGET := $(TARGET_NAME)_libretro.so