mirror of
https://github.com/libretro/potator.git
synced 2024-11-23 08:29:41 +00:00
add retrofw target
This commit is contained in:
parent
44a14b0212
commit
b08dd8df69
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user