add retrofw target

This commit is contained in:
Poligraf 2021-07-29 23:06:25 +12:00
parent efee37f82c
commit 80f86535e7
No known key found for this signature in database
GPG Key ID: A873F72889080BE7
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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