Merge pull request #61 from Poligraf/retrofw

add retrofw target
This commit is contained in:
Autechre 2021-08-03 13:49:03 +02:00 committed by GitHub
commit d365645a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -268,3 +268,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

@ -299,7 +299,17 @@ else ifeq ($(platform), gcw0)
CFLAGS += -fsigned-char
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
CFLAGS += -fsigned-char
FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32
fpic := -fPIC
# Raspberry Pi 1
else ifeq ($(platform), rpi1)
TARGET := $(TARGET_NAME)_libretro.so