Unverified Commit e09a9529 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #48 from Poligraf/retrofw

add retrofw target
parents d4e69f6b 98311659
Pipeline #52914 passed with stages
in 8 minutes and 36 seconds
...@@ -276,6 +276,12 @@ libretro-build-dingux-odbeta-mips32: ...@@ -276,6 +276,12 @@ libretro-build-dingux-odbeta-mips32:
extends: extends:
- .libretro-dingux-odbeta-mips32-make-default - .libretro-dingux-odbeta-mips32-make-default
- .core-defs - .core-defs
# RetroFW
libretro-build-retrofw-mips32:
extends:
- .libretro-retrofw-mips32-make-default
- .core-defs
#################################### MISC ################################## #################################### MISC ##################################
# Emscripten # Emscripten
......
...@@ -258,6 +258,17 @@ else ifeq ($(platform), gcw0) ...@@ -258,6 +258,17 @@ else ifeq ($(platform), gcw0)
FLAGS += -DDINGUX FLAGS += -DDINGUX
fpic := -fPIC fpic := -fPIC
# 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 -Wl,--no-undefined -Wl,--version-script=link.T
FLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32 -mhard-float
FLAGS += -DDINGUX
fpic := -fPIC
# Classic Platforms #################### # Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH> # Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp # Help at https://modmyclassic.com/comp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment