add retrofw target

This commit is contained in:
Poligraf 2021-08-05 20:20:05 +12:00
parent 44a14b0212
commit b08dd8df69
No known key found for this signature in database
GPG Key ID: A873F72889080BE7
2 changed files with 16 additions and 0 deletions

View File

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

View File

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