Merge pull request #6 from jdgleaver/gitlab-rs90

Add RS-90 build target
This commit is contained in:
jdgleaver 2021-07-08 16:02:04 +01:00 committed by GitHub
commit f40c6d99f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -194,3 +194,9 @@ libretro-build-dingux-odbeta-mips32:
extends:
- .libretro-dingux-odbeta-mips32-make-default
- .core-defs
# RS-90 OpenDingux Beta
libretro-build-rs90-odbeta-mips32:
extends:
- .libretro-rs90-odbeta-mips32-make-default
- .core-defs

View File

@ -279,6 +279,15 @@ else ifeq ($(platform), ctr)
FLAGS += -DARM11 -D_3DS
STATIC_LINKING = 1
# RS90
else ifeq ($(platform), rs90)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/rs90-toolchain/usr/bin/mipsel-linux-gcc
AR = /opt/rs90-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
# GCW0
else ifeq ($(platform), gcw0)
TARGET := $(TARGET_NAME)_libretro.so