diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d139db9..946e4f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -237,3 +237,9 @@ 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/Makefile b/Makefile index a4f4897..f043a85 100644 --- a/Makefile +++ b/Makefile @@ -426,6 +426,18 @@ else ifeq ($(platform), gcw0) HAVE_DYNAREC := 1 CPU_ARCH := mips +# 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 + SHARED := -shared -nostdlib -Wl,--version-script=link.T + fpic := -fPIC -DPIC + CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mhard-float + HAVE_DYNAREC := 1 + CPU_ARCH := mips + # RS90 else ifeq ($(platform), rs90) TARGET := $(TARGET_NAME)_libretro.so